Eclipse中的Android:意外无法执行DEX:多DEX文件中定义
问题描述:
问题: 我不能建立我的项目。当我尝试以下迹象显示在控制台:
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;
我失去了寻找了一个解决这个问题的时间,但没有结果。我试图清理项目,以删除bin文件夹等,但毫无效果。
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..
答
我无法修复它,所以我结束了创建在不同的工作区的新项目,并复制了所有的code到新的项目。这不是最聪明的事,但我能做些什么。
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..