If the package will package the conflict as such a mistake:
Android dependency 'androidx.core:core' has different version for the compile (1.0.0) and runtime (1.0.1) classpath. You should manually set the same version via DependencyResolution
1. Open the Terminal enter: . / Gradlew -q App: the Dependencies
View reliance conflicting files
2.在build.gradle里buildscript标签下添加 subprojects { project.configurations.all { resolutionStrategy.eachDependency { details -> if (details.requested.group == 'com.android.support' && !details.requested.name.contains('multidex') ) { details.useVersion "27.1.1" } if (details.requested.group == 'androidx.core' && !details.requested.name.contains('androidx')) { } } } } A package and designated conflict Androidx use versions group androidx.core