由于在APK META-INF中复制了重复文件,无法构建项目,我可以从构建的apk中排除特定的jar以避免问题

时间:2016-06-21 14:09:57

标签: android android-gradle

Error:Execution failed for task ':app:transformResourcesWithMergeJavaResForLocalDebug'.
  

com.android.build.api.transform.TransformException:com.android.builder.packaging.DuplicateFileException:在APK META-INF / DEPENDENCIES中复制的重复文件       File1:/home/solulab/.gradle/caches/modules-2/files-2.1/org.apache.james/apache-mime4j-dom/0.7.2/1c289aa264548a0a1f1b43685a9cb2ab23f67287/apache-mime4j-dom-0.7.2.jar       File2:/home/solulab/.gradle/caches/modules-2/files-2.1/org.apache.james/apache-mime4j-core/0.7.2/a81264fe0265ebe8fd1d8128aad06dc320de6eef/apache-mime4j-core-0.7.2.jar < / p>

0 个答案:

没有答案