Answer the question
In order to leave comments, you need to log in
How to cure java.util.zip.ZipException: duplicate entry: org/jetbrains/annotations/NotNull.class?
I added Kotlin support to the existing project in order to continue using it, but there was a problem when generating the APK, although the project itself starts in debugging.
Generate APK error occurs:
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/jetbrains/annotations/NotNull.class
Answer the question
In order to leave comments, you need to log in
./gradlew dependencies
in the resulting graph look for duplicate dependencies and exclude them.
It even says that jetbrains annotations are duplicated. It remains only to find in any
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question