zoukankan      html  css  js  c++  java
  • 【转】eclipse新建项目,报错“Error: workspaceappcompat_v7 esvalues-v21styles_base.xml No resource found that matches the given name”

    原文网址:http://www.cnblogs.com/mbp-study/p/5268478.html

    新建项目报错,不知道为什么,以前从未出现过的错误,把sdk更新之后,出现莫名错误,自己也是一知半解,在网上找了好久的错误,终于在一个english网站找到了解决方法,soga,从未觉得english如此美好

    错误信息如下

    ....appcompat_v7
    esvalues-v21styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
    ....appcompat_v7
    esvalues-v21styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
    ....appcompat_v7
    esvalues-v21styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
    ....appcompat_v7
    esvalues-v21styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
    ....appcompat_v7
    esvalues-v21styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.

    因为我最新的api版本是23,而我选择编译的版本是19。然而,对于编译版本的appcompact_v7 project必须得是你sdk中最新版本的api。

    修改如下

    修改appcompat_v7文件夹下的project.properties文件

    修改项目文件夹下的project.properties文件,如下

    搞定,接着点击project下的clean即可。

    感受:简直了,白用这么就的eclipse,白学这么就的android了,如此问题,纠结如此久,果然还是太弱了

  • 相关阅读:
    linux下的mysql安装
    linux下解压zip文件
    解決eclipse 的alt + / 快捷鍵不好用
    linux 源代码目录结构
    Linux(ubuntu)下手动安装 firefox 6 并且添加快捷方式图标
    Ubuntu中配置Tomcat与Eclipse整合
    Linux下的tar压缩解压缩命令详解
    ubuntu创建、删除文件及文件夹,强制清空回收站方法
    九度-题目1011:最大连续子序列
    杭电1003-Max Sum
  • 原文地址:https://www.cnblogs.com/wi100sh/p/5589288.html
Copyright © 2011-2022 走看看