ArthurHub / Android-Image-Cropper

Image Cropping Library for Android, optimized for Camera / Gallery.
Apache License 2.0
6.4k stars 1.38k forks source link

Unable to merge DEX #529

Open paramesh401 opened 6 years ago

paramesh401 commented 6 years ago

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

karntrehan commented 6 years ago

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

bastolaxantos commented 6 years ago

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

paramesh401 commented 6 years ago

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

shaheryar1 commented 6 years ago

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