java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMerger
Error:Execution failed for task ':app:transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Java\JDK\bin\java.exe'' finished with non-zero exit value 2
原因:重複引用了同一個包
比如:在一個工程內引用了
libs/ZXing-core-3.2.1.jar
Moudle引用了該工程,而專案本身又引用了Zxing包就報錯了
相關文章
- MediaRecorder start failed -19 java.lang.RuntimeException: start failedAIJavaException
- 【APIM】Azure APIM丟擲 java.lang.RuntimeException 錯誤定位APIJavaException
- java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerExceptioJavaExceptionAndroidUIHive
- ERROR Dispatcher Dispatcher initialization failed java.lang.RuntimeException: java.lang.RuntimeExcErrorAIJavaException
- linux 報錯 jpype._jexception.RuntimeExceptionPyRaisable: java.lang.RuntimeException: Class not foundLinuxExceptionAIJava
- Error:java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to meErrorJavaExceptionAndroidUIHive
- 解決:Exception in thread "main" java.lang.RuntimeException: don't run elasticsearch as root.ExceptionthreadAIJavaElasticsearch
- Android Bugs——Error:java.lang.RuntimeException: Some file crunching failed, see logs for detailsAndroidErrorJavaExceptionAI
- Exception starting filter struts2 java.lang.RuntimeException: com.opensymphony.xwork2.inject.DependeExceptionFilterJava
- 在AS中自定義字型庫報錯:java.lang.RuntimeException: native typeface cannot be made自定義字型JavaException