appcompat-v7 版本造成的问题No resource found that matches the given name 'android:TextAppearance.Material.W
来源:互联网 发布:博弈树算法c语言 编辑:程序博客网 时间:2024/06/10 19:56
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.Error:Execution failed for task ':app:processDebugResources'.
错误log提示如上所示:
出现原因,由于v7包的23.x版本中缺少部分资源所致。
解决方案:
build.gradle文件中,将
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:23.0.1'}
修改为:
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.2.1'}然后clean和Rebuild一下!
0 0
- appcompat-v7 版本造成的问题No resource found that matches the given name 'android:TextAppearance.Material.W
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse
- No resource found that matches the given name 'android:TextAppearance.Material...'解决办法
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Invers
- No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button...
- AppCompat v7 No resource found that matches the given 错误
- 关于 No resource found that matches the given name 'Theme.AppCompat.Light'问题的解决
- No resource found that matches the given name 'Theme.AppCompat.
- No resource found that matches the given name 'android:Widget.Material.ActionButton'的原因及解决方法
- No resource found that matches the given name ‘android.TextAppearance.Materia...
- [android] 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.darkactionbar'. android studio
- UML基础:统一建模语言简介
- mysql 5.7.10 插入新用户
- Objective-C 编码规范:禅与 Objective-C 编程艺术
- 【bzoj3529】【SDOI2014】【数表】【莫比乌斯反演+树状数组】
- 【学渣笔记】Xitrum Scala Web Framework Guide
- appcompat-v7 版本造成的问题No resource found that matches the given name 'android:TextAppearance.Material.W
- SpringMVC中使用Interceptor拦截器
- gulp教程之gulp中文API
- 界面跳转异常记录
- windows7远程桌面ubuntu14.04
- Spring3 MVC请求参数获取的几种方法
- opencv图片全景拼接详解
- 苏宁的手机号如何充值
- Spring IoC Service Provicer 管理对象间的依赖关系的三种方式