The second season of eclipse-related problems started. These problems were common problems that I encountered, and I wrote down my notes to help others better.
1. Unable to execute DEX: GC overhead limit exceeded
On the other hand, unable to execute DEX: GC overhead limit exceeded occurs when the newly installed eclipse program runs Android, and it gets stuck frequently. In fact, the memory set by eclipse is too small. You can find eclipse. ini (usually in the installation path)
I set it like this. You can adjust it according to the configuration of your machine.
-startupplugins/org.eclipse.equinox.launcher_1.2.0.dist.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.dist-showsplashorg.eclipse.platform--launcher.XXMaxPermSize512m--launcher.defaultActionopenFile-vmargs-Xms512m-Xmx1024m-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins
After setting, eclipse does not get stuck.
2. Terminal in eclipse
Linux eclipse is a great tool for development. It is better to use the command line in eclipse than the run that comes with eclipse. The plug-in is developed by Googler.
Address: https://code.google.com/p/elt/
3. Eclipse cannot load SWT Libraries
32bit system plz try this
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/
64bit system plz try this
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/
The sound continues, and the article does not stop.