新建一个工程使用2.2的SDK,工程上有红叉
运行时 报错 Your project contains error(s),please fix them before running your application.
控制台显示:
Unable to execute dex: wrapper was not properly loaded first
Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first
解决方案:
找到Eclipse目录下eclipse.ini文件,将最后两句改为
-Xms128m
-Xmx512m
重启eclipse
然后project->clean一下就OK了
这个问题一般是由于正在更新Android开发环境导致的