Hey All. Im in Cordova hell. More than a week and Ive made literally no progress.
When using the BarcodeScanner ionic native plugin and Facebook4 plugins separately they work fine. However together they wont build for Android (they build fine for iOS however android throws error)
Error:Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForDebug’.
java.lang.RuntimeException:java.lang.RuntimeException:com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex).
Apparently the facebook plugin includes the facebook sdk which includes a library that is used by many other Android SDK’s. Issue about this on github; https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/606. However ive tried everything off here.
Anyone have these two plugins working together?
If so could you post what versions your running aswell as your ionic info?
Thanks and much love to anyone who can help.