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
清理项目重新构建可以解决
- Build -> Clean Project
- Build -> Rebuild Project