com.android.dex.DexException: Multiple dex files define Lcom/delight/pushlibrary/BuildConfig;

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by user3302639

Occurs when a Module has a dependency on both another module and that same module's jar.
If that dependency came from 3rd party libraries, you can declare it, update library in your build.gradle, or remove old version from library by exclude statement.

Solutions on the web

via moengage.com by Unknown author, 1 year ago
Multiple dex files define Lcom/delight/pushlibrary/BuildConfig;
via Stack Overflow by Kozbot
, 2 years ago
Multiple dex files define Landroid/support/v4/BuildConfig;
via Stack Overflow by ILoveAndroid
, 2 years ago
Multiple dex files define Lcom/parse/ParseAuthenticationProvider;
via Stack Overflow by e-r-a-n
, 2 years ago
Multiple dex files define Lcom/nineoldandroids/animation/Animator$AnimatorListener;
via Stack Overflow by EitanG
, 2 years ago
Multiple dex files define Lcom/nineoldandroids/animation/Animator$AnimatorListener;
via Stack Overflow by NoName
, 2 years ago
Multiple dex files define Lcom/fasterxml/jackson/annotation/JacksonAnnotation;
com.android.dex.DexException: Multiple dex files define Lcom/delight/pushlibrary/BuildConfig;
at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:596)
at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:554)
at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:535)
at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:171)
at com.android.dx.merge.DexMerger.merge(DexMerger.java:189)
at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:454)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:303)
at com.android.dx.command.dexer.Main.run(Main.java:246)

Users with the same issue

Once, 1 month ago
Samebug visitor profile picture
Unknown user
Once, 4 days ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.