Running error in Android Error:Execution failed for task ':app:transformClassesWithDexForDebug'solved
错误如下:Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex
Open the project directory, my app comes with android_support_v7.xml, indicating that it supports v7, which is the default, there must be
I configured android_support_v7 again in build.gradle (imported the v7 package repeatedly).
Solution:
Delete the v7 package in libs, clean it again, run it, and that's it~~
The problem is solved, and the conclusion is that there must be repeated references to library or jar packages.