发布于 1年前

Android Studio 3.0报错DexArchiveMergerException: Unable to merge dex

Android Studio 2.3升级到Android Studio 3.0,构建项目报错:

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

清理项目重新构建可以解决

  1. Build -> Clean Project
  2. Build -> Rebuild Project
©2020 edoou.com   京ICP备16001874号-3