蚂蚁或者Eclipse编译时多DEX文件错误 [英] Multiple dex files error when compiling with ant or Eclipse
问题描述
我无法生成我的应用程序 我正在今天下载了最新版本的工具,这开始了更新后发生的事情。
I am unable to build my application I am running the latest build tools downloaded today, this started happening after the update.
-dex:
[dex] Converting compiled files and external libraries into
/Users/rob/Repos/my_app/bin/classes.dex...
[dx]
[dx] UNEXPECTED TOP-LEVEL EXCEPTION:
[dx] com.android.dx.util.DexException: Multiple dex files define
Lcom/robaldred/myapp/About$1;
我试图清理和重建,我也试着在Eclipse中,但它给了同样的错误。 任何人有什么想法?我在砖墙这里吧。
I have tried cleaning and rebuilding, I've also tried in Eclipse but it gives the same error. Anyone got any ideas? I'm at a brick wall here now.
推荐答案
而昨天发生在我的系统(以及其它在这里工作),其中的SDK要推平台工具更新,但随后我无法用它在所有等等。
Something happened yesterday to my system (and another here at work) where the SDK wanted to push the platform tools update but then I was unable to use it at all, etc.
我结束了我的移动SDK出的方式,并重新安装它,那么一切工作,因为它总是有。我没有你的DEX具体问题,但我怀疑的更新推送昨天就结束了一个很好的许多事情。祝你好运。
I ended up moving my SDK out of the way and reinstalling it, then everything worked as it always had. I did not have your dex specific issue, but I suspect the update push yesterday broke a good many things. Good luck.
这篇关于蚂蚁或者Eclipse编译时多DEX文件错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!