AS构建项目时出错:No resource found that matches android:TextApprence.Material.Widget.Button.Inverse
来源:互联网 发布:bbc纪录片 网络女主播 编辑:程序博客网 时间:2024/06/08 04:07
Android studio上运行构建好的项目时,出现:com.android.support/appcompat-v7/23.0.1/res/values-v23/values-v23.xml
错因:这是在项目运行时没有找到相关资源,查看项目build.gradle发现我的项目的compileSdkVersion=22,但是dependencies对应的appcompat为:
dependencies{
compile ‘com.android.support:appcompat-v7:23.0.1
}
从而,很明显,构建在Android5.1(API Level =22)上的项目时无法引用Android6.0(API Level = 23)中的资源。所以相应的有两种解决方法。
方法一:将compileSdkVersion改为23(但是如果项目要求是构建在Android5.1上,就不能修改compileSdkVersion,只能按照方法二解决)
方法二:修改compile ‘com.android.support:appcompat-v7:23.0.1为:compile ‘com.android.support:appcompat-v7:22.2.1
阅读全文
0 0
- AS构建项目时出错:No resource found that matches android:TextApprence.Material.Widget.Button.Inverse
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android 中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- Android 解决No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 解决Android中No resource found that matches android:TextAppearance.Material.Widget.Button.Inverse问题
- 初识React
- mysql sqlyog(上)
- Linux:grep命令
- centos换yum源
- Voreen 开发团队分家
- AS构建项目时出错:No resource found that matches android:TextApprence.Material.Widget.Button.Inverse
- 大二暑假《算法导论》学习笔记-第一天
- 如何使用笔记本上减少的功能键
- CSS3-loading动画(四)
- pandas系列之 DataFrame 行列数据筛选
- linux如何查看端口被哪个进程占用
- MySQL的几种连接 join/inner join/cross join/逗号/left join/right join/natural join
- mysql sqlyog(下)
- Linux ACL访问控制权限