新建一个工程使用2.2的SDK,工程上有红叉,
不知道少了什么,
运行时报错 Your project contains error(s),please fix them before running your application.
控制台显示:
[2011-09-26 11:00:33 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first
[2011-09-26 11:00:33 - HellWorld] Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first
解决方案:
找到Eclipse目录下eclipse.ini文件,将最后两句改为
-Xms128m
-Xmx512m
重启eclipse
然后project->clean一下就OK了
不知道少了什么,
运行时报错 Your project contains error(s),please fix them before running your application.
控制台显示:
[2011-09-26 11:00:33 - Dex Loader] Unable to execute dex: wrapper was not properly loaded first
[2011-09-26 11:00:33 - HellWorld] Conversion to Dalvik format failed: Unable to execute dex: wrapper was not properly loaded first
解决方案:
找到Eclipse目录下eclipse.ini文件,将最后两句改为
-Xms128m
-Xmx512m
重启eclipse
然后project->clean一下就OK了