Skip to content Skip to sidebar Skip to footer

Java.util.zip.zipexception: Duplicate Entry: Com/google/zxing/barcodeformat.class

I am not sure why I am getting this error. Any kind of help will be highly appreciable Error:Execution failed for task ':packageAllDebugClassesForMultiDex'. java.util.zip.ZipExc

Solution 1:

I am not sure if it will work, but you could try using a DuplicationStrategy (https://docs.gradle.org/current/javadoc/org/gradle/api/file/DuplicatesStrategy.html) like so:

packageAllDebugClassesForMultiDex {
    duplicatesStrategy = DuplicatesStrategy.EXCLUDE
}

Post a Comment for "Java.util.zip.zipexception: Duplicate Entry: Com/google/zxing/barcodeformat.class"