AppCompat v7 No resource found that matches the given 错误

Android Studdio中错误简要代码如下:

\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\21.0.0\res\values-v21\values.xml

解决方法:

File-->Project Structure(Ctrl+Alt+Shift+s)  中compile sdk Version 和Build Tools Version 调到最新的就好,两个最好同步或相近如图:

时间: 2024-07-30 11:11:40

AppCompat v7 No resource found that matches the given 错误的相关文章

编译或运行时可能会出现错误: Error:Error retrieving parent for item: No resource found that matches the given name “Theme.AppCompat.Light”

这个问题我在刚开始写"HelloWorld"时就遇到,以为是API版本太高,下载了常用的API 19.17--一系列的,后来还是有问题.就上网查了很多,遇到几篇不错的文章,记录下来,方便以后查看. No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案  http://www.360doc.com/content/15/0316/15/9200790_455576135.shtml And

No resource found that matches the given name 'Theme.AppCompat.Light'

eclipse在新建andorid工程的时候出现找不到AppCompat.Light主题的问题,这是因为缺少支持低版本的v7包所致, 这个不是jar包,在sdk的extras->andorid->support中找不到v7支持包,打开SDK Manager,重新下载这个文件 如果下载v7 失败那么直接上网下载一个新的v7包放到该目录下重写打开eclipse就好了 下载地址:http://pan.baidu.com/s/1jHAIKsQ 另外打开已经存在的工程可以导入支持包具体: http://

[android] No resource found that matches the given name 'Theme.AppCompat.Light'

在整合android过程中导入别人的项目出现下面的错误: <style name="AppBaseTheme" parent="Theme.AppCompat.Light"> error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 通过stackoverflow查到其解决方法,如下: 1.

No resource found that matches the given name &#39;Theme.AppCompat.Light 的完美解决方案

No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案 首先这个问题的产生是由于缺少Theme.AppCompat.Light这个主题产生的,而这个主题 的是存在于android\support\appcompat-v7支持库中的,注意不是jar包. No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方

error: Error retrieving parent for item: No resource found that matches the given name &#39;Theme.AppCompat.Light&#39;.

导入项目时style.xml里报这个错,网上查说是因为这个项目要依赖项目android-support-v7-appcompat(导入方法是:在sdk目录下extras\android\support\v7这个下面的项目appcompat导入). 但是在导入这个项目后发现,项目本身就打了个红叉.再查,发现是这个项目本身就要求的系统高,结果一直改到6.0(版本号是23)时才去掉了红叉.(换了后要先clear下才能看到). error: Error retrieving parent for ite

项目引入android-support-v7-appcompat遇到的问题,no resource found that matches the given name &#39;android:Theme.AppCompat.Light&#39;

一.问题 今天准备使用v7包中的ToolBar来用,但是在styles.xml中引入Theme.AppCompat.Light的时候,报错“no resource found that matches the given name 'android:Theme.AppCompat.Light'”. 二.解决 1.首先搜索了对应的报错,有很多回答需要导入android-support-v7-appcompat包,引入了几次,还是没有效果.终于功夫不负有心人,偶然看到一个博客中提到,需要将工程和an

解决IDEA下运行android项目 No resource found that matches the given name &#39;Theme.AppCompat.Light&#39;.

1.右击项目选择 解决IDEA下运行android项目 No resource found that matches the given name 'Theme.AppCompat.Light'.

创建Android项目时出错——No resource found that matches the given name &#39;Theme.AppCompat.Light&#39;

创建Android项目时出错,error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 问题描述: 创建一个Android应用项目时,需指定其适用的SDK版本,默认如下图: 最低适用版本为:API 8: Android 2.2 (Froyo) 目标版本为:API 21: Android 4.X (L Preview) 编译版本为:A

android中出现Error retrieving parent for item: No resource found that matches the Theme.AppCompat.Light

styles.xml中<style name="AppBaseTheme" parent="Theme.AppCompat.Light">提示如下错误,这是版本问题. error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 解决方法: 在Eclipse中打开任意一个.java文件,输入