报错:
test/res/values/styles.xml:4: error: Error retrieving parent for item: No resource found
that matches the given name 'Theme.AppCompat.Light.NoActionBar'.test/res/values/styles.xml:9: error: Error: No resource found that matches the given name:
attr 'colorAccent'.test/res/values/styles.xml:7: error: Error: No resource found that matches the given name:
attr 'colorPrimary'.test/res/values/styles.xml:8: error: Error: No resource found that matches the given name:attr 'colorPrimaryDark'.解决:
# emacs test/res/values/styles.xml
-<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
+<style name="AppTheme" parent="android:Theme.NoTitleBar">
-<item name="colorPrimary">@color/colorPrimary</item>
-<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
-<item name="colorAccent">@color/colorAccent</item>
</style>

Android报错:No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'相关推荐

  1. [android] No resource found that matches the given name 'Theme.AppCompat.Light'

    在整合android过程中导入别人的项目出现下面的错误:         <style name="AppBaseTheme" parent="Theme.AppC ...

  2. 【Android】No resource found that matches the given name 'Theme.Sherlock.Light.NoActionBar'

    被这个问题困扰了好久-- 错误如下: error: Error retrieving parent for item: No resource found that matches the given ...

  3. No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案

    首先这个问题的产生是由于缺少Theme.AppCompat.Light这个主题产生的,而这个主题 的是存在于android\support\appcompat-v7支持库中的,注意不是jar包. No ...

  4. No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'

    解决方法: styles.xml中<style name="AppBaseTheme" parent="Theme.AppCompat.Light"> ...

  5. No resource found that matches the given name 'Theme.AppCompat.Light'.

    然后是所有的value文件夹下的styles.xml的 <style name="AppBaseTheme" parent="Theme.AppCompat.Lig ...

  6. 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 ...

  7. Android ionic resource style/Theme.AppCompat.Light.NoActionBar (aka x.x.x:style/Theme.AppCompa

    error: resource style/Theme.AppCompat.Light.NoActionBar (aka 包名:style/Theme.AppCompat.Light.NoAction ...

  8. error: resource style/Theme.AppCompat.Light.NoActionBar

    今天更新完公司最新项目代码后编译突然报错:error: resource style/Theme.AppCompat.Light.NoActionBar 网上苦苦找寻良策,答案大多是把v4包替换成v7 ...

  9. Android问题集锦之三十七:No resource found 'Theme.AppCompat.Light.DarkActionBar'

    AS导入他人的工程会遇到这样那样的问题. 如果他们用的AS版本比较老,那么需要AS会自动下载相对应版本的gradle.这个我在前几篇文中有提过.不过最简单的版本就是直接将gradle的版本改成最新. ...

最新文章

  1. Linux 线程的创建与同步
  2. 五天面试 Google、Facebook、Airbnb 等硅谷五家顶级公司,我是如何都拿到 Offer 的
  3. 优秀!33岁博士,拟作为县长人选!
  4. 诗和远方:无题(四十六)
  5. Redis发布订阅和Stream
  6. ContextLoaderListener和Spring MVC中的DispatcherServlet加载内容的区别
  7. react中的核心概念
  8. FusionChartsFree参数说明
  9. Termux新/旧版下载地址及其附属包下载地址归总(附低版本aarch64安装包地址)
  10. Linux下使用FastDFS
  11. 企业无线接入平台好吗
  12. .net基础知识学习
  13. mac电脑怎么彻底关闭系统更新提示?
  14. html语言左对齐是什么,html - 如何左对齐标签?
  15. 【UEFI实战】Intel开源固件项目
  16. 6:把一个数组最开始的若干个元素搬到数组的末尾,我们称之为数组的旋转。 输入一个非递减排序的数组的一个旋转,输出旋转数组的最小元素。 例如数组{3,4,5,1,2}为{1,2,3,4,5}的一个旋转
  17. JavaWeb页面创作(一)——一个好看的登录界面
  18. 互联网晚报 | 7月17日 星期日 | iPhone 14量产在即;首款国产科学计算软件研发成功;上半年广东人均收入2.47万元...
  19. 低于90分的成绩 java_查询平均成绩低于60分的学生学号、姓名及成绩。
  20. PLC梯形图设计全自动洗衣机S7-1200博途以及PLC仿真实现之 4. 仿真演示过程

热门文章

  1. Github 常用命令
  2. 精通MVC3摘译(9)-过滤器
  3. 湖北省地税应用灾备中心正式启用
  4. inventory tool for Microsoft Uplates简介
  5. routerOS限速限流量
  6. Java的搜索引擎框架
  7. 2020 年开源项目
  8. android 下拉刷新listview,实现Android下拉刷新的ListView
  9. 【参数辨识】永磁同步电机的参数辨识
  10. powerdesigner错误提示实体属性名称唯一性_SolidWorks用保存实体创建新零件与装配体...