错误:No resource found that matches the given name 'Theme.AppCompat.Light'解决方法
来源:互联网 发布:淘宝刷单负债百万 编辑:程序博客网 时间:2024/03/29 22:57
res中styles.xml里 <style name="AppBaseTheme" parent="Theme.AppCompat.Light">发生错误
信息如下:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
原因:android中的某些API(包括类方法或者XML属性)更换成android版本时,它们的路径已经发生了改变,从而导致编译器无法找到它们,所以编译无法通过。
解决方法:改成 <style name="AppBaseTheme" parent="android:Theme.Light">(即对应的新的Style)
2 3
- 错误:No resource found that matches the given name 'Theme.AppCompat.Light'解决方法
- 错误:No resource found that matches the given name 'Theme.AppCompat.Light'解决方法
- error: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.的解决方法
- [Android开发] 错误No resource found that matches the given name 'Theme.AppCompat.Light'.
- 出现错误 No resource found that matches the given name '@style/Theme.AppCompat.Light'
- 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 的完美解决方案
- [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 的完美解决方案
- error: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'
- android中的返回键与Activity
- HDU 1513 Palindrome 求回文串
- macbook safari上不了网,但是QQ可以上网的问题
- Eclipse中设置JVM内存
- Codeforces Round #275
- 错误:No resource found that matches the given name 'Theme.AppCompat.Light'解决方法
- C++学习之类的使用(排序算法)
- 墩泰的FT6206电容屏的调试
- 【多线程】(四)关键段CS
- ARCHIVELOG模式下用户管理的完全恢复—在没有数据文件备份的情况下恢复数据文件
- c语言中#include 路径查找问题
- cassandra源代码总结
- 二分图的相关概念
- IOS 获取当前Wifi的SSID