打安卓调试包,报错!! 哪位大神能告诉我原因吗?

: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。

解决了吗,我也遇到这个问题,是导入包的问题,工程gradle和cocos2dx gradle里面都导入了cocos2d-x/cocos/platform/android/java/libs库文件导致的,但是要是去掉其中一个都缺依赖库