question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to merge dex

See original GitHub issue

I get this error when I add this plugin to my project:

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

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:26

github_iconTop GitHub Comments

4reactions
vijaychouhan-railscommented, Jan 30, 2018

@machour ,

Thanks, its works. Solution is:


dependencies {
  compile 'com.google.firebase:firebase-core:11.8.0' //Added this line
}

2reactions
machourcommented, Feb 23, 2018

This is now mentioned in the troubleshooting section of the README file.

@paintedbicycle I’m planning to drop the dependency in 1.0.0 (#307), can’t do it prior to a BC breaking release

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - Unable to merge dex - Stack Overflow
Go to project structure and find out the external library which is using a different version. Double click on it and delete its...
Read more >
DexArchiveMergerException: Unable to merge dex #73 - GitHub
Go to build player settings-->Publishing settings and set Release to dropdown Gradle experimental and hit build,worked for me.
Read more >
Build Failed with an Exception – Unable to merge dex
What went wrong: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. java.lang.RuntimeException: java.lang.
Read more >
com.android.builder.dexing.DexArchiveMergerException ...
Android : com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex - Android Studio 3.0 stable [ Beautify Your Computer ...
Read more >
DexArchiveMergerException: Unable to merge dex
Go to build player settings-->Publishing settings and set Release to dropdown Gradle experimental and hit build,worked for me. Comment. Add ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found