Android dependency 'com.android.support:support-core-utils' has different version for the compile (27.1.1) and runtime (28.0.0) classpath. You should manually set the same version via DependencyResolution
建立我的Android应用程式时发生这个错误
最佳答案
在您的项目 build.gradle
文件中,最后添加以下内容:
subprojects {
project.configurations.all {
resolutionStrategy.eachDependency { details ->
if (details.requested.group == 'com.android.support'
&& !details.requested.name.contains('multidex') ) {
details.useVersion "28.0.0"
}
}
}
}
关于android - Android依赖项 'com.android.support:support-core-utils'对于编译(27.1.1)和运行时(28.0.0)具有不同的版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53128957/