您的位置:首页 > 移动开发 > Android开发

all com.android.support libraries must use the exact same version specification

2018-02-01 16:04 519 查看
在app build.gradle中添加:

configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == 'com.android.support') {
if (!requested.name.startsWith("multidex")) {
details.useVersion '27.0.1'//统一使用的Version
}
}
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐