eclipse juno (new version of ADT) always crashes in ubuntu 14.04 and create an error log file

眉间皱痕 提交于 2019-12-11 12:41:29

问题


I started android development and I downloaded the latest version of adt available on developer.android.com for linux OS. Now my eclipse crashes automatically without any prior error or notice and it creates an err log file in the same directory, also my virtual device(emulator) is not working in this.

now what can I do. I tried to re install this but same problem occurs and also it works fine if I use previous version of ADT.


回答1:


I had the same problem for couple of weeks now. Adding the following line to the eclipse.ini file has solved my problem. Give it a try and hope it helps.

-Dorg.eclipse.swt.browser.DefaultType=mozilla



回答2:


tweak the following params in your eclipse.ini and then start eclipse:

-Xms512m
-Xmx1024m
-XX:PermSize=256M
-XX:MaxPermSize=512M

These should help you in running eclipse smoothly.

Thanks




回答3:


Hmm. For me this -D tricks did not work (Using juno included in adt-bundle-linux-x86_64-20140702 on ubuntu 14.04).

But somewhere here I found the suggestion to do a

sudo apt-get purge libwebkitgtk-1.0-common

which made it work for me, but then without any html-rendering (brutal, because this deinstalls different things which depend on that, like gimp)

This seems to be related to why-does-my-eclipse-indigo-crash-on-ubuntu-13-04-with-oracle-jdk-64bit



来源:https://stackoverflow.com/questions/24836396/eclipse-juno-new-version-of-adt-always-crashes-in-ubuntu-14-04-and-create-an-e

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!