解决版本冲突

configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == ‘com.android.support’) {
if (!requested.name.startsWith(“multidex”)) {
details.useVersion ‘27.1.1’
}
}
}
}

猜你喜欢

转载自blog.csdn.net/qq_43677688/article/details/88086998
今日推荐