All com.android.support libraries must use the exact same version specification 的解决方法
来源:互联网 发布:淘宝店铺等级快速升级 编辑:程序博客网 时间:2024/06/16 18:37
问题描述:
All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 24.2.1, 23.4.0. Examples include com.android.support:animated-vector-drawable:24.2.1 and com.android.support:recyclerview-v7:23.4.0 less... (Ctrl+F1) There are some combinations of libraries, or tools and libraries, that are incompatible, or can lead to bugs. One such incompatibility is compiling with a version of the Android support libraries that is not the latest version (or in particular, a version lower than your targetSdkVersion.)
这个问题是支持库没有使用完全相同的版本规范,因为你的编译版本是23,recyclerview的支持库是23,而animated-vector-drawable和support-vector-drawable分别有23和24两个包,所以lint就检查出,推荐你使用24,相对的高版本
animated-vector-drawable和support-vector-drawable两个包的是由appcompat-v7-版本号编译所得,好像是23.4.0后就会编译出来
解决方法: 把app里的build.gradle里编译版本改成对应高版本,提示的问题使用提示的高版本,重新同步下就可以了
阅读全文
1 0
- All com.android.support libraries must use the exact same version specification 的解决方法
- Android Studio2.3 All com.android.support libraries must use the exact same version specification...
- Android Studio2.3 All com.android.support libraries must use the exact same version specification..
- All com.android.support libraries must use the exact same version specification解决
- All com.android.support libraries must use the exact same version specification
- 解决支持库版本兼容问题:all com.android.support libraries must use the exact same version specification
- All the support libraries have to be the same version. Try changing either appcompat-v7 and support-
- [android引用他人包出现的错误]All versions of the libraries must be the same at this time.以及It is indirectly re
- JAVA9 API翻译(Java® Platform, Standard Edition & Java Development Kit Version 9 API Specification)
- All versions of the libraries must be the same at this time.
- The following classes could not be found: - android.support.v7.internal.app.WindowDecorActionBar
- The following classes could not be found: - android.support.v7.internal.app.WindowDecorActionBar
- instance method 'xxxx' in category from 'xxx' conflicts with the same method
- Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解决方法
- The server does not support version 3.0 of the J2EE Web module specification 的改进方法
- 关于Location of the Android SDK has not been setup in the preferences的解决方法
- [Android]All WebView methods must be called on the same thread.线程安全
- run on server的时候,报出The server does not support version 3.0 of the J2EE Web module specification
- 继承(二)--菱形继承,虚拟虚拟继承
- 代理模式1
- Leetcode 23. Merge k Sorted Lists合并k个排序链表
- NEXUS 5 工厂镜像刷机教程及刷机包目录解析
- html中 cookie和session
- All com.android.support libraries must use the exact same version specification 的解决方法
- 关于android:sharedUserId="android.uid.system"这个系统级权限
- jQuery绑定事件与移除事件
- 算法谜题120 硬币分发机
- 无题
- 2 Elasticsearch全文检索和匹配查询
- 欢迎使用CSDN-markdown编辑器
- HDFS下断点续传的实现——上传
- qwb去面试 思维