在Mac上使用Android SDK,Eclipse是真的很慢。我怎样才能加快步伐?真的很、步伐、Android、Mac

2023-09-05 05:25:22 作者:征服

我使用的Eclipse + Android SDK的在Mac上运行雪豹开发Android应用程序。

I'm using Eclipse + the Android SDK on a Mac running Snow Leopard to develop Android apps.

事情是,Eclipse是真的很慢 - 样,是沙滩球几秒钟改变标签时

Thing is, Eclipse is really slow - like, it "beach balls" for a few seconds when changing tabs.

有什么我可以做些什么来改善它的性能?

Is there anything I can do to improve it's performance?

推荐答案

解决方法:更改使用的Java版本,增加分配的内存

The solution: change the Java version used and increase the allocated memory.

编辑的eclipse.ini - 该文件位于Eclipse.app /内容/ MacOS /作用的eclipse.ini

Edit eclipse.ini - this file is located Eclipse.app/Contents/MacOS/eclipse.ini.

更改以下增值经销商使用Java 1.6和分配更多的内存:

Change the following vars to use Java 1.6 and allocate more memory:

-Dosgi.requiredJavaVersion = 1.6
-Xms128m
-Xmx1024m

(发现原来这里:http://www.$c$cweblog.com/eclipse-adt-mac-version-tab-to-switch-slow-solution/)