ASNE
ASNE copied to clipboard
Error:Error converting bytecode to dex
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;
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