1.错误log

E:\Learn\apidemo\ApiDemos\testsource\build\intermediates\res\merged\debug\values-v23\values-v23.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
E:\Learn\apidemo\ApiDemos\testsource\build\intermediates\res\merged\debug\values-v23\values-v23.xml:34: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
E:\Learn\apidemo\ApiDemos\testsource\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
E:\Learn\apidemo\ApiDemos\testsource\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

2.看看我的gradle文件



3.分析解决

可以看到compileSdkVersion 21而使用v7的版本25.2.0很显然使用高版本的v7到sdk21里面当然找不到相关资源
解决方法1:升高sdk版本如修改为compileSdkVersion 25即可
解决方法2:降低v7版本可你使用的sdk版本保持一致
虽然两个方法都可以但是还是最好使用方法1,这样可以使用一些新的特性。而方法2却无法使用一些新的特性

No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Invers相关推荐

  1. 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题

    如果在刚够构建Android Studio项目的时候,运行发现,出现没找到资源的错误!找不到com.android.support/appcompat-v7/23.0.1/res/values-v23 ...

  2. 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题...

    如果在刚够构建Android Studio项目的时候,运行发现,出现没找到资源的错误!找不到com.android.support/appcompat-v7/23.0.1/res/values-v23 ...

  3. Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题

    Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题 这是API ...

  4. No resource found that matches the given name ‘android.TextAppearance.Materia...

    问题原因出在Gradle里面 android {compileSdkVersion = 23targetSdkVersion = 22minSdkVersion = 17buildToolsVersi ...

  5. error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found. 解决办法

    TextAppearance.Material.Widget.Button.Borderless.Colored not found 编译报错解决办法 原因:使用23版本编译导致的. compileS ...

  6. No resource found that matches the given name 'android:Widget.Material.ActionButton'.

    Eclipse 下搭建Android 开发环境(环境搭建参考:点击打开链接) 搭建完成后,新一个Andoroid 项目,出现如下错误: [2014-11-19 14:16:34 - appcompat ...

  7. No resource found that matches the given name 'android:Widget.Material.A解决方案

    1:首先新建空白工作区 2:先import appcompat_v7 appcompat_v7在一个类似这样的地方, C:\mywork\android\android-sdk-windows\ext ...

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

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

  9. 【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 ...

最新文章

  1. flappy bird游戏源代码揭秘和下载后续---移植到android真机上
  2. Node Buffer 利用 slice + indexOf 生成 split 方法
  3. mount --bind的用处
  4. HashTable 基础
  5. 手机端主图在哪里设置_原来华为手机灭屏也能看时间,操作方法非常简单,1分钟学会...
  6. linux查看谷歌服务,如何查询Linux服务的作用
  7. 微信小程序 列表item点击事件
  8. WIFI远程控制实例分享,喜欢你就来!
  9. LimeSDR官方系列教程(四):To Pothos and Beyond
  10. Mac新手需掌握的操作技巧——屏幕篇
  11. 冉宝的每日一题--8月11日
  12. 《哈佛大学公开课:幸福课》 学习笔记(1)
  13. 单射、满射和双射(一 一映射)
  14. matlab模糊建模设计,毕业设计matlab建模
  15. 淘宝能承受几百上亿的访问点击,而铁道部的网站为啥分分钟崩溃?
  16. Java HotSpot(TM) 64-Bit Server VM warning:Options -Xverify:none and -noverify were deprecated in ..
  17. pytest_bdd.exceptions.FeatureError: Step definition outside of a Scenario or a Background.
  18. 百度云同同步盘 mac版
  19. 人工智能第2章 智能 Agent
  20. linux从文件中匹配查找内容

热门文章

  1. 二叉树的基本概念和计算公式
  2. linux操作系统原理_Linux后台开发C++学习路线技能加点,已拿鹅厂offer
  3. 参考资料来自 懒兔子 的公众号
  4. ccf2016年4月10日认证考试 俄罗斯方块问题思路
  5. 如何在路由器上做端口映射
  6. github搭建自己的博客网站
  7. H3C 不同版本登录认证配置
  8. 【转】ASCII码十进制、十六进制对照表
  9. 毒舌陆琪那些能让人少奋斗十年的语录![转载]
  10. 干货!MySQL常见的面试题+索引原理分析!