Android错误之--Error retrieving parent for item: No resource found that matches the given name 'Theme.A

错误提示:error: Error retrieving parent for item: No resource found that matches the given name ‘Theme.AppCompat.Light‘.

如图:

解决办法:

在建立Android Application的时候,只需要将Minimum Required SDK选择到Android 4.0版本(即API 14),便不会出现烦人的Appcompat_V7内容了。

版权声明:本文为博主原创文章,未经博主允许不得转载。

Android错误之--Error retrieving parent for item: No resource found that matches the given name 'Theme.A

时间: 2024-07-30 04:10:28

Android错误之--Error retrieving parent for item: No resource found that matches the given name 'Theme.A的相关文章

Android错误之--Error retrieving parent for item: No resource found that matches the given name 'Theme.A

错误提示:error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. 如图: watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" /> 解决的方

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文件,输入  

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

编译或运行时可能会出现错误: 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

ubuntu android studio 编译及运行错误Error retrieving parent for item: No resource found that matches the given name

安装好android studio并且安装其它需要的SDK或组件后,根据向导生成新的项目, 编译或运行时可能会出现下面的错误: Error:Error retrieving parent for item: No resource found that matches the given name “xxxxxxxxxx” 不大确定其它人的同样错误是否与本人是同一原因,在本人环境中的问题是“build.gradle(Module:app)”中的配置版本过高的问题. 本人生成项目时,目标andro

Android studio报错 Error retrieving parent for item: No resource found that matches the given name &#39;android:TextAppearance.Material.Inverse&#39;

用Android studio创建一个工程,我选择了Phone and Tablet平台, Minimum SDK选择了API 9,也就最低支持是Android 2.3, 接下来一路Next.惊喜出现了,报了一堆 Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'... 都是说找不到某个样式,仔细看错误信息

error: Error retrieving parent for item: No resource found that matches the given name &#39;android:Widget.Material.ActionButton&#39;.

引用appcompat 类库提示 error: Error retrieving parent for item: No resource found that  matches the given name 'android:Widget.Material.ActionButton'. 引用地址 adt-bundle-windows-x86-20140702\sdk\extras\android\support\v7\appcompat 解决办法刚项目SDK改为6.0就可以了 然后清除下 er

Android Studio-error: Error retrieving parent for item: No resource found that matches the given name &#39;android:Wind

在遇到这两个问题的时候: android:TextAppearance.Material.Widget.Button.Inverse找不到或者报错问题 Error retrieving parent for item: No resource found that matches the given name 'android:Wind 在Android Studio SDK升级到android6.0的时候也就是API为23,报错的话,可以用如下方式,删除23的信息. 我用的是5.0.1,所以删

error: Error retrieving parent for item: No resource found that matches the given name

'android:Widget.Material.ActionButton'.更新SDK包之后,新建工程多了个appcompat_v7,但是报错,报错在res资源文件values-v21文件夹的styles_base.xml文件中,错误项是 <style name="Base.Widget.AppCompat.ActionButton" parent="android:Widget.Material.ActionButton"> </style&g