简体   繁体   English

创建新的Android项目时Eclipse崩溃

[英]Eclipse crashes when creating a new android project

I'm starting with Android Programming at the moment. 我现在开始使用Android编程。 I'm using die Android SDK and Eclipse. 我正在使用Android SDK和Eclipse。 I downloaded the Bundle from the developer.android.com . 我从developer.android.com下载了Bundle。 At first it seems good, but when finishing the wizard for a new Android Project, Eclipse crashes. 乍一看似乎不错,但是当完成新的Android项目的向导时,Eclipse崩溃了。 快照 The programm returns the following error: 该程序返回以下错误:

控制台快照 I already tried to run "ulimit -c unlimited", with no effect. 我已经尝试运行“ ulimit -c unlimited”,但没有任何效果。

I'm running Kubuntu 14.04 (Linux/Debian/Ubuntu) and Java 1.7.0_55. 我正在运行Kubuntu 14.04(Linux / Debian / Ubuntu)和Java 1.7.0_55。

Any help? 有什么帮助吗?

You need to change the Desktop Theme to a different theme. 您需要将桌面主题更改为其他主题。

For KDE users goto: Configure Desktop => Application Appearance => GTK and change the theme from oxygen-gtk to Adwaita . 对于KDE用户,请转到: 配置桌面 => 应用程序外观 => GTK并将主题从oxygen-gtk更改为Adwaita Your Eclipse will no longer crash and the desktop will look more premium. 您的Eclipse将不再崩溃,而桌面将显得更加优质。

在此处输入图片说明

try paste this line in eclipse.ini file in your Eclipse catalog: 尝试将此行粘贴到Eclipse目录中的eclipse.ini文件中:

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

Example: 例:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807
-product
adtproduct
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-XX:MaxPermSize=256m
-Xms40m
-Xmx768m
-Dorg.eclipse.swt.browser.DefaultType=mozilla

您尝试重新安装OpenJDK吗?

sudo apt-get install -reinstall openjdk-7-jre openjdk-7-jdk

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM