When attempting to generate the signed APK for this Cordova project, I get the following error:
Error:Execution failed for task ':transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/cordova/AuthenticationToken.class
I have scoured and attempted the various solutions which have been posted around such as:
Ensuring all Android build numbers are the same
Added this:
java.util.zip.ZipException: duplicate entry during packageAllDebugClassesForMultiDex
- Added this:
Android Project Error Execution failed for task ':transformClassesWithJarMergingForDebug'
- Ensured all the references to play services are the same in build.gradle
I have tried this individually and also together but no matter what the same error is thrown.
Any suggestions are welcome, thanks