Skip to content
This repository has been archived by the owner on Aug 11, 2020. It is now read-only.

ionic cordova build android Multiple dex file error #739

Closed
devzhr opened this issue Nov 24, 2018 · 6 comments
Closed

ionic cordova build android Multiple dex file error #739

devzhr opened this issue Nov 24, 2018 · 6 comments
Labels
stale issues lacking attention, or potentially abandoned

Comments

@devzhr
Copy link

devzhr commented Nov 24, 2018

BUILD FAILED in 33s
45 actionable tasks: 45 executed
/Users/zouhair/Documents/anfa/platforms/android/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/zouhair/Documents/anfa/platforms/android/app/src/main/java/cordova/plugins/Diagnostic.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 33s
[ERROR] An error occurred while running subprocess cordova.

        cordova run android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.
@JustasKuizinas
Copy link

Get same error

@pnag90
Copy link

pnag90 commented Feb 26, 2019

Same here:

  • What went wrong:
    Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

@wilsolutions
Copy link

Facing the same issue =/

@viking2917
Copy link

Long discussion of this issue, and potential workarounds, here:
#535
#606

@stale
Copy link

stale bot commented Jul 25, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale issues lacking attention, or potentially abandoned label Jul 25, 2019
@stale stale bot closed this as completed Aug 15, 2019
@lock
Copy link

lock bot commented Sep 14, 2019

This thread has been automatically locked.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale issues lacking attention, or potentially abandoned
Development

No branches or pull requests

5 participants