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

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

Android Studio2.3 All com.android.support libraries must use the exact same version specification..._第1张图片

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,警告消除

Android Studio2.3 All com.android.support libraries must use the exact same version specification..._第2张图片

你可能感兴趣的:(Android,疑问)