’com.android.support:appcompat-v7:version‘不兼容
来源:互联网 发布:电视连接网络怎么设置 编辑:程序博客网 时间:2024/06/08 03:21
错误如下
E:\UamaWork\universal\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
我报这个错误的原因的因为我在moudle中引用了第三方依赖,
它的“com.android.support:appcompat-v7:25.3.1"版本高于我当前的版本,所以导致我的版本不一致,而不能使用 "compileSdkVersion 23"
解决办法如下:
1. 提高我的compileSdkVersion 的版本号;
2.排除第三方依赖中的appcompat-v7,方法如下
compile ('com.yanzhenjie:permission:1.0.7'){ exclude group: 'com.android.support', module: 'appcompat-v7'
- ’com.android.support:appcompat-v7:version‘不兼容
- com.android.support:appcompat-v7:21.+
- com.android.support:appcompat-v7:21.+.
- com.android.support:appcompat-v7错误解决方法
- Could not find any version that matches com.android.support:appcompat-v7:+
- android-support-v7-appcompat
- android-support-v7-appcompat
- Android-Failed to resolve: com.android.support:appcompat-v7:23.+
- Failed to find: com.android.support:appcompat-v7:20
- Failed to find : com.android.support:appcompat-v7
- Error:Failed to find: com.android.support:appcompat-v7:21.+
- Could not resolve com.android.support:appcompat-v7:22.2.1
- failed to resolve com.android.support:appcompat-v7:23+ 解决方法
- Error:Failed to find: com.android.support:appcompat-v7:21.+
- Failed to resolve: com.android.support:appcompat-v7:20+
- Could not find com.android.support:appcompat-v7:23.1.1
- Error:Failed to find: com.android.support:appcompat-v7:14.+
- Failed to resolve : com.android.support:appcompat-v7:24.2.0
- 欢迎使用CSDN-markdown编辑器
- 2017CCPC- 女生专场 第2题(hdu 6024)和第8题(hdu 6030)
- HelloJni导入到Eclipse及命令行编译
- elasticsearch 组合查询
- Jvm参数调优初探索(一)
- ’com.android.support:appcompat-v7:version‘不兼容
- python 读取csv文件
- win7 显示器驱动已停止响应并且已恢复
- 决策树算法实现(二)
- QDockWidget嵌套布局详解-实现Visual Studio布局
- windows(服务端)-linux ssh 公钥无密码访问
- 111111
- [Leetcode 25] Reverse Nodes in k Group
- ubuntu下整合eclipse和javah生成jni头文件开发android的native程序