Error No resource found that matches the given name 'Theme.AppCompat.Light
来源:互联网 发布:为什么要建设网络强国 编辑:程序博客网 时间:2024/04/27 16:27
有时我们导入项目是style会出现这个错误
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
原因:
作者新建项目是最低版本在4.0以下,所以会有个v7兼容包。
解决办法:
找到style:` name="AppBaseTheme" parent="Theme.AppCompat.Light"` 改成 style name="AppBaseTheme" parent="android:Theme.Light"!或者干脆将你新建最低版本在4.0以上的项目打开对照着style改下
注意:
用eclipse时以后新建项目最低版本新建到4.0以上,再说了4.0以下的机器早死完球了,eclipse尽早弃置吧!AS新建项目时最低版本已经默认4.0以上了
0 0
- 解决No resource found that matches the given name :Theme.AppCompat.Light error: Error retrieving paren
- error:No resource found that matches the given name 'Theme.AppCompat.Light'
- Error:No resource found that matches the given name 'Theme.AppCompat.Light'.解决方案
- Error No resource found that matches the given name 'Theme.AppCompat.Light
- Android Error : No resource found that matches the given name 'Theme.AppCompat.Light'.
- error: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.的解决方法
- No resource found that matches the given name 'Theme.AppCompat.
- No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- 错误:No resource found that matches the given name 'Theme.AppCompat.Light'解决方法
- [android] No resource found that matches the given name 'Theme.AppCompat.Light'
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- 解决异常:No resource found that matches the given name 'Theme.AppCompat.Light ‘
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- 关于 No resource found that matches the given name 'Theme.AppCompat.Light'问题的解决
- No resource found that matches the given name 'Theme.AppCompat.Light
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- 判断是否是移动设备
- sqlserver sql语句遍历表数据
- node.js async详细教程
- hdu 4390
- 把google app禁用掉后锁屏界面左下角voice图标不变
- Error No resource found that matches the given name 'Theme.AppCompat.Light
- HDU 2594 Simpsons’ Hidden Talents(kmp)
- 杭电2055—An easy problem
- 秒杀多线程第二篇 多线程第一次亲密接触 CreateThread与_beginthreadex本质区别
- 我是如何向别人讲解 H5的_1&2
- 在Windows下安装pear
- gsoap生成c++框架
- NotificationCompat详解
- PHP的命名空间