ASNE icon indicating copy to clipboard operation
ASNE copied to clipboard

Error:Error converting bytecode to dex

Open m-godovikov opened this issue 8 years ago • 1 comments

Hi! This error appears when I use this dependencies in project: -compile 'com.facebook.fresco:fresco:0.13.0' -compile 'com.github.asne:asne-facebook:0.3.3' and try to build apk.

If any of those dependencies is excluded - apk builds successful.

Full error message: Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lbolts/AggregateException;

m-godovikov avatar Sep 21 '16 19:09 m-godovikov

Both are using facebook sdk which is causing a sort of conflict, you can resolve this issue by enabling multidex in your gradle file. Follow the steps mentioned in this link: http://stackoverflow.com/questions/26925264/android-support-multidex-library-implementation

usmanrana07 avatar Jan 10 '17 10:01 usmanrana07