@mrtechguy23 wrote:
Hey everyone,
I have been keeping on getting this error in ionic all of a sudden
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':transformClassesWithJarMergingForDebug'. > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/zxing/aztec/AztecDetectorResult.class * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. [ERROR] An error occurred while running cordova emulate android (exit code 1).
This error goes away after I uninstall phonegap-plugin-barcodescanner. However, after reinstalling phonegap-plugin-barcodescanner, the error arises again. (Note: I have been using barcode scanner for a couple of months now and it never caused any issues until now). Any help would be greatly appreciated!
Posts: 1
Participants: 1