Eclipse运行时Dalvik错误 [英] Eclipse runtime Dalvik error
问题描述
当我goint运行任何程序时,此对话框将显示:
When i goint to run any program this dialog box is display:
在Eclipse中,这些错误显示在控制台中:
and in Eclipse these errors display in console:
-
[2013-02-25 19:05:09 - Dex Loader]无法执行dex:目标超出范围:+ 0000ffd1
[2013-02-25 19:05:09 - 转换为Dalvik格式失败:无法执行dex:范围:+ 0000ffd1
如果我从项目中删除Android依赖项,错误消失,但是需要更永久的解决方案。任何想法?
If I remove Android dependencies from project the error disappears but I need a more permanent solution. Any ideas?
推荐答案
我认为它是一种错误,尝试删除您的依赖项(我指的是添加的库,而不是标准依赖关系)。
然后清理并重建所有的项目。此后,您应该可以添加删除的库,而不会出错。
I think its kind of a bug, try removing your dependencies (I am referring to added libraries, not the standard-dependencies).
Then clean and rebuild all your projects. Thereafter you should be able to add the removed libraries without errors.
这篇关于Eclipse运行时Dalvik错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!