Android SDK-Eclipse crash when Content Assist provide suggestion

Recently, install Android SDK on updated Ubuntu 14.04. But it always crash when Content Assist try to provide suggestion. And report error like this:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x6115b86d, pid=4231, tid=3076355840
#
# JRE version: Java(TM) SE Runtime Environment (8.0_11-b12) (build 1.8.0_11-b12)
# Java VM: Java HotSpot(TM) Client VM (25.11-b03 mixed mode linux-x86 )
# Problematic frame:
# C [libsoup-2.4.so.1+0x5486d] soup_session_feature_detach+0x1d
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/u/Android/eclipse/hs_err_pid4231.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


This solution work for me:
  • Edit the file <Android SDK-Eclipse folder>/eclipse/eclipse.ini.
  • Insert the line:
    -Dorg.eclipse.swt.browser.DefaultType=mozilla