error: Error retrieving parent for item: No resource found that matches the given name 'Theme.App
来源:互联网 发布:数据精灵不能添加账号 编辑:程序博客网 时间:2024/04/28 21:16
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文件,输入 android.R.style. 这时你会看到一个提示列表,仔细看看,再对比一下,看哪个与原有的最接近就选择哪个。用将下划线替换成"."就可了。
将
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
改为
<style name="AppBaseTheme" parent="android:Theme.Light">
<style name="AppBaseTheme" parent="Theme.AppCompat.Light.DarkActionBar">
改为
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
0 0
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.App
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCom
- Error:(9) Error retrieving parent for item: No resource found that matches the given name 'Theme.App
- 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 'android:Theme....
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
- eerror: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCo
- 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.Lig
- Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Lig
- 解决error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppC
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Ap
- Exynos4412裸机开发 —— 看门狗定时器
- OkHttp使用教程
- 有1000桶酒,其中1桶有毒.而一旦吃了,毒性会在1周后发作.现在我们用小老鼠做实验,要在1周内找出那桶毒酒,问最少需要多少老鼠.
- Linux下Samba服务器搭建
- hadoop学习之一:mac下hadoop安装
- error: Error retrieving parent for item: No resource found that matches the given name 'Theme.App
- 信息安全学习的网站
- Unity3d本地存储
- Android_为什么要继承onMeasure()
- Z-stack 应用程序编程接口(API)-网络层
- HTML5实战之20行代码实现打地鼠(HolaStudio特别版)
- DiGui
- Kafka:如何做到1秒发布450万+条消息
- Centos下载地址