Search code examples
androideclipsebuilddalvikdex

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..


Solution

  • I couldn't fix it so I ended up by creating new project in a different workspace and copied all the code to the new project. It's not the smartest thing but what can I do..