Mint/ubuntu Android Eclipse ADT Simple install and run crash solution

Source: Internet
Author: User

1. Download the Android SDK (ADT Bundle)

Http://developer.android.com/sdk/index.html

(website can not access or slow, please refer to: Easy to modify the local hosts file, stable with Google search and Google services)

(Do not want to get this, please go to my Baidu network disk download: http://pan.baidu.com/s/1jGIDNO6)


2. Unzip to a directory, for example:

Unzip adt-bundle-linux-x86_64-20140624.zip-d ~/

Unzip to get folder: adt-bundle-linux-x86_64-20140624, subfolders: Eclipse and SDK.


3. Create a system icon to facilitate eclipse startup

In terminal: Gedit eclipse.desktop, enter the following (the paths of exec and IOCN need to be changed to their own settings)

Then, execute the sudo cp eclipse.desktop/usr/share/applications/

[Desktop Entry] Version=1.0type=applicationname=eclipsename[zh_cn]=eclipsecomment=eclipsecomment[zh_cn]=eclipseexec=/home/aran /adt-bundle-linux/eclipse/eclipseicon=/home/aran/adt-bundle-linux/eclipse/icon.xpmcategories=texteditor;d Evelopment; Terminal=false

4. Running Crash issues

I'm using Linux Mint 17, which crashes after running eclipse for a while, with the following error message

[email  protected] ~/adt-bundle-linux/eclipse $./eclipse merged Dex A (8 Defs/2.3kib) with Dex B (628 Defs/645.8kib). Result is 636 Defs/795.8kib. Took 1.1s## A fatal error have been detected by the Java Runtime environment:## SIGSEGV (0xb) at PC=0X00007FB1C59AE2A1, pi d=8091, tid=140403018897152## JRE version:6.0_43-b01# Java vm:java HotSpot (TM) 64-bit Server VM (20.14-b01 mixed Mode Li  NUX-AMD64 compressed oops) # problematic frame:# C [LIBSOUP-2.4.SO.1+0X6C2A1] short+0x11## An error report file with more Information is saved as:#/home/aran/adt-bundle-linux/eclipse/hs_err_pid8091.log## If you would like to submit a bug repo RT, please visit:# http://java.sun.com/webapps/bugreport/crash.jsp# The crash happened outside the Java Virtual machine In native code.# see problematic frame for where to report the bug.# 
Solution: (Google out of, do not know why this change is good)
Opens the Eclipse/configuration/config.ini file,

Add Org.eclipse.swt.browser.defaulttype=mozilla on the last line

OK, enjoy programming.


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.