Android studio报错 Error retrieving parent for item: No resource found that matches the given name ...

AndroidKiller回编译报错No resource found that matches the given name 'xxxxxxxx'. /home//Apktooldir/res/values/styles.xml:293: error: Error retrieving parent for item: No resource found that matches the given name 'xxxxxxxxx'. 出现这种主要原因是:Framework Files不是最新的,不能解析新版本里面新的资源属性。 Apkt... 阅读详情

用Android studio创建一个工程,我选择了Phone and Tablet平台, Minimum SDK选择了API 9,也就最低支持是Android 2.3,

新建完后报了很多 Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Inverse‘...

说是找不到某个样式,仔细看错误信息有这样一行:

~/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/23.0.0/res/values-v21/values-v21.xml

问题就在Build-tools 23.0.0,这个错误应该是Build-tools不兼容导致的,有两种解决方法:

1.把Minimum sdk改为4.0,当然这样就不能支持低版本的系统了

2.把Build-tools修改为20.0.0。 打开Tools->Android->SDK Manager,选中SDKTools等它加载完,删除原来的Android SDK Build-tools,然后打开launch Standalone SDK Manager,下载Build-tools 20.0.0

然后修改app/build.gradle里以下两行内容为20.0.0:

buildToolsVersion "20.0.0"
compile ‘com.android.support:appcompat-v7:20.0.0‘
Sync工程后错误就消失了
AUTOSAR实战:手把手教你配置EthTsync模块,搞定车载以太网时间同步 本文详细解析AUTOSAR架构中EthTsync模块的配置方法,实现车载以太网时间同步。通过对比gPTP与PTP协议差异,提供从开发环境准备到参数配置、模块集成的全流程指南,并分享性能优化与调试技巧,帮助开发者实现微秒级同步精度,满足自动驾驶等高精度时间同步需求。 阅读详情

相关推荐

海康VisionMaster图形定位实战:十字形Mark点精准匹配技巧

本文深入解析了海康VisionMaster图形定位模块在工业自动化中实现十字形Mark点精准匹配的实战技巧。文章从ROI设置、核心参数调优(如定位方式、尺度模式、对比度阈值)到工业场景应用与避坑指南,系统性地分享了提升匹配成功率和稳定性的关键步骤,帮助工程师应对复杂现场环境,实现高效、可靠的视觉定位。

weixin_29285605的博客 260

Error retrieving parent for item: No resource found that matches the given name..全面解决方案

出现错误: [2015-02-13 13:47:05 - GodHand2] D:\Workspace\godhand\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name '

Laisx 5万+

黑群晖二合一已损毁_手动修复黑群晖已损毁磁盘空间

lz的用法是这样的,一个中古级mac mini 2011上装有vmware esxi 7.6, 然后上面挂载了lz的华芸Asustor Nas的iscsi空间,lz用的是basic volume,然后esxi上面有虚拟的黑群晖6.2.2-24922,黑群晖的docker里跑着不可描述软件,但是发现下载速度过快时,比如有好几个文件同时下载,总速度超过60MB/s以后storage manager里很...

weixin_39669629的博客 1万+

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

当你的androidAPI 由2.1版本更换成2.2版本时:  res/vavlues/styles.xml中使用的android:WindowTitle会报以下异常, error: Error retrieving parent for item: No resource found that matches the given name 'android:WindowTitle'. 从而

heirenheiren的专栏 21万+

ArcMap新手必看:Shape属性中的点ZM值到底是什么?如何快速处理

本文深入解析ArcMap中Shape属性中的点ZM值,揭示其在GIS数据中的隐藏维度作用,包括Z值(高程值)和M值(测量值)。针对ZM值可能引发的服务发布问题,提供三种高效处理方案,帮助新手快速掌握数据导入时的ZM值管控策略及精准去除方法。

weixin_42561476的博客 431

电源完整性之Cadence Sigrity Power SI_AC阻抗仿真

之前和大家分享过电源完整性之仿真设计原理链接: [link](https://blog.csdn.net/weixin_41808082/article/details/117065140?spm=1001.2014.3001.5501).今天接着上一篇文章总结一下电源AC阻抗的的仿真操作流程及一些simulation中的设置参数,用到的时候Cadence Sigrity 中的Power SI组件,下面开始享受仿真的快乐吧: 1.仿真模式选择与文件导入 选择Cadence Sigrity下的Power SI

刘小同学的博客 1万+

解决 Error:(3) Error retrieving parent for item: No resource found that matches the given name 'androi

相信会有很多朋友遇到这个问题,所以我从stackoverfloat中翻译了答案。亲测解决了我的问题 报错信息: Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Bu

luosuosile的博客 1万+

基于OSPF技术的某企业网络设计(完整文档+ENSP拓扑图)

主要对网络规划与设计,以企业网络为背景,对某个中型企业网络进行规划设计,该企业总部在南京,在常州有一个分公司,需要实现总部和分公司能够访问外网,能够让分公司内的用户或主机访问总部服务器的资源,并且保证数据的安全性。在这次总部企业网络设计中,考虑到资金的问题,核心层部署2台核心三层交换机,负责转发总部内部用户的流量,并充当内部用户网关,能够实现内部不同网段的用户之间的连通性。对于一些对网络比较敏感的企业或用户,对网络的要求较高,对于网络的稳定性和安全性也有较高的要求。

qq1325513482的博客 2万+

error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Ap...

error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.,appcompatv7 error: Error retrieving parent for item: No resource found that matches t...

weixin_30902675的博客 303

halcon3D 点云拟合球体

halon3D 点云拟合球面

weixin_43213429的博客 1639

[Python图像处理] 一.图像处理基础知识及OpenCV入门函数

该系列文章是讲解Python OpenCV图像处理知识,前期主要讲解图像入门、OpenCV基础用法,中期讲解图像处理的各种算法,包括图像锐化算子、图像增强技术、图像分割等,后期结合深度学习研究图像识别、图像分类应用。希望文章对您有所帮助,如果有不足之处,还请海涵~ 同时推荐作者的C++图像系列知识: [数字图像处理] 一.MFC详解显示BMP格式图片 [数字图像处理] 二.MFC单文档分割窗...

杨秀璋的专栏 7万+

Android studio报错 Error retrieving parent for item: No resource found that matches the given name 'an...

用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:Tex...

weixin_30814319的博客 99

C#实现Socket通信同时监听多客户端(附完整源码)

C#实现Socket通信同时监听多客户端(附完整源码)

希望我的博客,能帮上你解决学习中工作中所遇到的问题 427

Android Error retrieving parent for item: No resource found that matches the given name '...'

记录一下,以前没有遇到过这个问题,这个问题困扰我好长时间。我起初用Android Studio-1.2版本创建的项目api19编译的,后来换成Android studio-1.4版本后加载这个项目就一直报下面的错误: E:\........app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\23.1.0\re

Android/java之家 6230

SIMATIC S7-1200, S7-1500 PID 控制[手册]

SIMATIC S7-1200, S7-1500 PID 控制[手册]

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

Android Studio -- Error retrieving parent for item: No resource found that matches the given

错误信息如下:E:\androidStudio\项目名\app\build\intermediates\res\merged\debug\values-v23\values-v23.xml Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextApp

yukun314的专栏 6328

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

eclipse: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 ‘Theme.AppCompat.Light’. 打开报错的styles.xml将

groovemax的博客 457

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig

Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.      将Eclipse项目移到Android Studio中时报错:Error retrieving parent for item: No resourc

OONullPointerAlex的博客 1249

Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:T

项目的compileSdkVersion改成了19,如下图. 运行项目,会报错: Error:(4) Error retrieving parent for item: No resource found that matches the given name ‘android:TextAppearance.Material.Widget.Button.Inverse’. Error:(3

Android开发 1116

SDK降版本导致编译失败Error retrieving parent for item: No resource found that matches the given name

SDK降版本导致编译失败:Error retrieving parent for item: No resource found that matches the given name新装了Android的开发环境,新建工程后发现一个问题: 降低SDK版本后编译有问题,这里说一下Android项目降SDK版本的问题1,Android Studio新建一个项目,查看项目属性:2,将项目SDK降低到A

BraveWangDev 1799

android v7兼容包

今天遇到一个问题,及时再eclipse中重新导入以前的项目的时候会报错,类似这样的错误,error: Error retrieving parent for item: No resource found that matches the given name 'Widget.TabPageIndicator'. 最后终于解决了,问题的根源就是sdk的版本问题,开发高版本的时候想要向下兼容,在工

fen_ren的博客 780

Eclipse开发Android时出现No resource found that matches the given name xml问题原因以及解决方法

Eclipse中No resource found that matches the given name 'Theme.AppCompat.Light'.styles.xml问题原因以及解决方法

Stanford_sun的博客 6229

编译时Error retrieving parent for item: No resource found that matches the given name的问题

第一次遇到这样的问题,蒙蔽一脸,这里记录 报 Error:Error retrieving parent for item: No resource found that matches the given name “xxxxxxxxxx” 过程就不说了,直接来解决方法(个人解决的方法) 找到项目中Gradle Script 打开这个 解决前 compileSdkVersion ...

lizhong 8965

error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom

问题:新建andorid工程中文件styles.xml报错error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.  error: Error retrieving parent for item: No resource fou

vinckyliu的专栏 1055

Android开发中error: Error retrieving parent for item: No resource found that matches the given name解决方法

styles.xml中 提示如下错误,这是版本问题。 error: Error retrieving parent for item: No resource found that matches the given name  'Theme.AppCompat.Light'. 解决方法: 将 改为  同理,将

liumeng920的博客 2310

Android报错记录:error: Error retrieving parent for item: No resource found that matches the given name..

有个项目跟进,import时style.xml中出现错误:error: Error retrieving parent for item: No resource found that matches the given  name   'Theme.AppC.Title' 。上网查了下,发现是由于以下原因: android2.1中的某些API(包括类方法或者XML属性)更换成android2

专注后台 1178
上一篇: AndroidStudio快捷键
下一篇: Android使用Put方式提交数据
程序猫King
博客等级 码龄14年 5580粉丝 66原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序猫King

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值