Gradle: com.android.support:support-compat:25.3.1 和 com.android.support:animated-vector-drawable:24.0.0 必须使用完全相同的版本
Gradle: com.android.support:support-compat:25.3.1 and com.android.support:animated-vector-drawable:24.0.0 must use the exact same version
在我的 Gradle 文件中的以下 'complie' 中:
dependencies {
compile 'com.android.support:support-v4:25.3.1'
}
我遇到以下错误:
*All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found
versions 25.3.1, 24.0.0. Examples include
com.android.support:support-compat:25.3.1 and
com.android.support:animated-vector-drawable:24.0.0.
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.)*
但我没有在我的项目中找到任何对此 'animated-vector-drawable' 库的使用引用(使用搜索工具)。
知道如何解决这个问题吗?
谢谢!
你需要设置所有 gradle 版本应该是相同的版本
只需将这一行添加到您的应用 gradle 文件
compile 'com.android.support:animated-vector-drawable:25.3.1'
在我的 Gradle 文件中的以下 'complie' 中:
dependencies {
compile 'com.android.support:support-v4:25.3.1'
}
我遇到以下错误:
*All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 25.3.1, 24.0.0. Examples include com.android.support:support-compat:25.3.1 and com.android.support:animated-vector-drawable:24.0.0.
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.)*
但我没有在我的项目中找到任何对此 'animated-vector-drawable' 库的使用引用(使用搜索工具)。
知道如何解决这个问题吗?
谢谢!
你需要设置所有 gradle 版本应该是相同的版本
只需将这一行添加到您的应用 gradle 文件
compile 'com.android.support:animated-vector-drawable:25.3.1'