Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error:Error converting bytecode to dex #122

Open
m-godovikov opened this issue Sep 21, 2016 · 1 comment
Open

Error:Error converting bytecode to dex #122

m-godovikov opened this issue Sep 21, 2016 · 1 comment

Comments

@m-godovikov
Copy link

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;

@usmanrana07
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants