You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: android.support.v4.os.ResultReceiver$MyResultReceiver
* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> com.android.builder.dexing.DexArchiveMergerException: Error while merging dex archives:
Program type already present: android.support.v4.os.ResultReceiver$1
Learn how to resolve the issue at https://developer.android.com/studio/build/dependencies#duplicate_classes.
This is easy to recreate:
cordova create test com.test test
cd test
cordova platform add android@latest
cordova plugin add cordova-facebook-audnet-sdk
cordova build
Cordova 9.0.0
Android 8.0.0
Installing cordova-plugin-androidx allows the build to complete but app crashes immediately on open. Environment works fine if cordova-facebook-audnet-sdk is not installed.
The text was updated successfully, but these errors were encountered:
unstableair
changed the title
Android build Fails with - D8: Program type already present ($100 bounty available for fix)
Android build Fails with - D8: Program type already present
Mar 16, 2020
Cordova build for Android fails with:
This is easy to recreate:
Cordova 9.0.0
Android 8.0.0
Installing cordova-plugin-androidx allows the build to complete but app crashes immediately on open. Environment works fine if cordova-facebook-audnet-sdk is not installed.
The text was updated successfully, but these errors were encountered: