transformClassesWithJarMergingForDebug FAILED issu

2019-08-09 03:39发布

I am fairly new at Android development and have been struggling to get a working build of an app I am working on.

I receive the following error after a build with Gradle:

:app:transformClassesWithJarMergingForDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

    com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/v4/print/PrintHelper$1.class

I (think) I narrowed the issue down to multiple libraries using the same 'support-v4' module, but I'm not sure. I can provide more details. Thank you.

1条回答
ゆ 、 Hurt°
2楼-- · 2019-08-09 04:22

I fixed this by deleting .jar files that were duplicates.

查看更多
登录 后发表回答