关于我的 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.)*
但我没有在我的项目中找到任何对此“动画 vector 可绘制”库的使用引用(使用搜索工具)。
知道如何解决这个问题吗?
谢谢!
最佳答案
只需在您的应用程序 gradle 文件中添加这一行
compile 'com.android.support:animated-vector-drawable:25.3.1'
关于java - Gradle:com.android.support:support-compat:25.3.1 和 com.android.support:animated-vector-drawable:24.0.0 必须使用完全相同的版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43608933/