Android-Image-Cropper icon indicating copy to clipboard operation
Android-Image-Cropper copied to clipboard

Unable to merge DEX

Open paramesh401 opened this issue 8 years ago • 4 comments

Hi, this is what I'm getting. Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex i have updated all versions, but still not resolved my problem. please guide me to solve this. Thanks in advance

paramesh401 avatar Apr 17 '18 07:04 paramesh401

Seems like you have crossed your dex limit. Follow this link to enable Multidex in your app: https://stackoverflow.com/questions/26609734/how-to-enable-multidexing-with-the-new-android-multidex-support-library

karntrehan avatar Apr 17 '18 09:04 karntrehan

I am getting the same problem. Multidex enable didn't help.

bastolaxantos avatar Apr 19 '18 03:04 bastolaxantos

I have resolved the issue, by deleting older version files.... it worked for me (i have updated volley library to 1.0.0 and deleted the older version files , the error is occurring for having two library files of volley )
If this process was wrong .. suggest me solution

paramesh401 avatar Apr 19 '18 08:04 paramesh401

I am adding opencv library and ur library its giving the unable to merge dex error . Kindly solve this issue

shaheryar1 avatar Oct 21 '18 21:10 shaheryar1