Skip to content Skip to sidebar Skip to footer

Android Eclipse Hanging

I'm trying to get the ADT working in Eclipse, but I'm getting random hangs where eclipse just locks for no apparent reason, usually requiring a 'killall java' to properly clean it

Solution 1:

I've had this happen due to a corrupt Eclipse workbench. In particular, I've seen Eclipse hang while loading com.android.ide.eclipse.adt configuration.

First, I tried deleting com.android.ide.eclipse.adt from my workspace/.metadata/.plugins, but that did not do the trick.

However, deleting org.eclipse.ui.workbench from workspace/.metadata/.plugins seems to have done the trick.

Seems like the workbench configuration is getting corrupted somehow. So, try this guys:

rm /path_to_workspaces/workspace/.metadata/.plugins/org.eclipse.ui.workbench -fr

Seems to have fixed the problem for me now, and I believe this was the same solution I came up with when I had the same problem 2 years ago ( but just now found this question on SO)

Solution 2:

I prefer one eclipse installation for each programming language/language pack. Java + Android, Php + Web (HTML, JS...), Python... Maybe ADT isn't really compatible to one of your installed plugins. Try to use a separate eclipse installation/instance

Solution 3:

Recently this problem keeps cropping up too. I usually solve it by

1. Renaming org.eclipse.core.resources(in your *currently active workspace folder*/.metadata/plugins folder)  to something like org.eclipse.core.resources.old
2. Kill eclipse task if it is still hung in memory
3. Start eclipse, it should start fine and create org.eclipse.core.resources again
4. Close eclipse
5. Delete the newly created org.eclipse.core.resources folder and rename org.eclipse.core.resources.old to org.eclipse.core.resources
6. Start eclipse again.

This has worked for me

Post a Comment for "Android Eclipse Hanging"