Android Studio2.3 All com.android.support libraries must use the exact same version specification...

来源:互联网 发布:vmware如何安装mac os 编辑:程序博客网 时间:2024/06/04 18:06

今天导入公司的一个项目,发现gradle出现如下情况


All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.0.0, 24.2.1. Examples include com.android.support:renderscript:25.0.0 and com.android.support:animated-vector-drawable:24.2.1 
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.)

很奇怪为什么警告会在multidex这个依赖包上,搜索若干资料无解

最后将下图的24.2.1改成25.0.0,警告消除



0 0
原创粉丝点击