Search This Blog

Monday, July 7, 2014

Eclipse LUNA hangs

Recently even eclipse LUNA version, hang occurs when launching it.
At the message "Android SDK Content Loader 0%". Very annoying and hope it will be fixed soon.
Following is work around with the problem.
This is the solution I found which works correctly:
  1. Make sure that eclipse is not active. If it is active kill eclipse from the processes tab of the task manager
  2. Open %USERPROFILE%/ (You can locate this folder from desktop)
  3. Go to .android folder (This may be a hidden folder)
  4. Delete the folder "cache" which is located inside .android folder
  5. Delete the file ddms.cfg which is located inside .android folder
  6. Start eclipse

and / or

Delete your debug.keystore:
Windows : %USERPROFILE%/.android
Linux or Mac : ~/.android/debug.keystore

and / or

cd workspace/.metadata/.plugins/org.eclipse.core.resources/.projects

$ rm -rf *

This one could be devastating, because it nullify all project in your package explorer.
That doesn't mean all the sources are deleted along, you need to re-create those project entries. 
I tried to look for a specific project in project list and could find one that cause the problem.
After deleting it, eclipse launched as usual.

No comments:

Post a Comment