:rcgame:transformClassesWithDexBuilderForDebug (Thread[Task worker for ‘:’ Thread 7,5,main]) completed. Took 7.778 secs.
:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Task worker for ‘:’ Thread 7,5,main]) started.
:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug
Putting task artifact state for task ‘:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug’ into context took 0.022 secs.
Executing task ‘:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug’ (up-to-date check took 0.007 secs) due to:
Task has failed previously.
All input files are considered out-of-date for incremental task ‘:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug’.
:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug (Thread[Task worker for ‘:’ Thread 7,5,main]) completed. Took 0.347 secs.
49 actionable tasks: 13 executed, 36 up-to-date
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:rcgame:transformDexArchiveWithExternalLibsDexMergerForDebug’.
java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
-
Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. -
Get more help at https://help.gradle.org
BUILD FAILED in 54s
执行命令出错,返回值:1。