|
编译失败:
2021-08-07 10:13:31
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:checkReleaseDuplicateClasses'.
> 1 exception was raised by workers:
java.lang.RuntimeException: Duplicate class android.support.multidex.BuildConfig found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.MultiDex found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.MultiDex$V14 found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.MultiDex$V19 found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.MultiDex$V4 found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.MultiDexApplication found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.MultiDexExtractor found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.MultiDexExtractor$1 found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.ZipUtil found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Duplicate class android.support.multidex.ZipUtil$CentralDirectory found in modules multidex-1.0.0-runtime.jar (com.android.support:multidex:1.0.0) and multidex-1.0.2.jar (multidex-1.0.2.jar)
Go to the documentation to learn how to <a href="d**.**/r/tools/classpath-sync-errors">Fix dependency resolution errors</a>.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help**.**
BUILD FAILED in 13s |
|