|
安卓打包失败报错,这个要怎么解决
- 2024-03-29 11:34:50
- 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 androidx.core.content.res.ColorStateListInflaterCompat found in modules core-1.6.0-runtime.jar (androidx.core:core:1.6.0) and jetified-appcompat-v7-26.0.0-runtime.jar (appcompat-v7-26.0.0.aar)
- Duplicate class androidx.core.content.res.GrowingArrayUtils found in modules core-1.6.0-runtime.jar (androidx.core:core:1.6.0) and jetified-appcompat-v7-26.0.0-runtime.jar (appcompat-v7-26.0.0.aar)
-
- 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 33s
复制代码
|
|