Error:No resource found that matches the given name 'Theme.AppCompat.Light'.解决方案
来源:互联网 发布:软件用户手册编写目的 编辑:程序博客网 时间:2024/04/26 06:24
- 最近导入别人的项目,发现 在 style.xml 文件中报
“error: Error retrieving parent for
item: No resource found that matches the given name
‘Theme.AppCompat.Light’.错误
发现是缺少 android-support-v7 资源包导致。 解决方法
找到android-support-v7 资源路径 SDK_PATH/extras/android/support/v7
Library add android-support-v7 资源包路径->apply 即引入资源包,问题解决. - 如上操作可能还是无法解决,则要做修改 将
<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">
1 0
- Error:No resource found that matches the given name 'Theme.AppCompat.Light'.解决方案
- 解决No resource found that matches the given name :Theme.AppCompat.Light error: Error retrieving paren
- 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 的完美解决方案
- 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'.解决方案
- error:No resource found that matches the given name 'Theme.AppCompat.Light'
- jQuery知识点总结
- 忽略大小写比较字符串大小
- listview
- rangeOfString 失效了
- unityscript OnGUI无法生成GUI界面。
- Error:No resource found that matches the given name 'Theme.AppCompat.Light'.解决方案
- java math类方法摘要
- Group分组列表的实现 RecyclerView(二)
- Android判断用户是否设置了锁屏密码
- JDBC操作数据库(增删改查,注册登录)
- Android音频系统之AudioFlinger(二)
- MPI Collective Communications
- 内聚、耦合
- spymemcached测试例子