Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse, Android: Unexpected Unable to execute dex: Multiple dex files define

The problem: I can't built my project. When I try the following sign is shown in the Console:

[2014-09-28 23:49:30 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/annotation/AnimRes;
[2014-09-28 23:49:30 - Shop] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/annotation/AnimRes;

I lost hours of searching for a solution for this problem, but no result.. I tried to clean the project, to delete the bin folder etc. but nothing worked..

Please, help, I don't know what to do..

like image 330
dephinera Avatar asked Sep 28 '14 20:09

dephinera


1 Answers

Remove android-support-annotations.jar from libs folder. As these annotations are already included in recent versions of the android-support-v4.jar file.

like image 84
anurag_dake Avatar answered Sep 24 '22 23:09

anurag_dake