Eclipse startup hang, "Android SDK: resolving error markers"

This problem made me crazy until I found below, if I didn't post the answer, I am not a man! Hope this helps if you are also going crazy

I found from Eclipse Stuck at "Android SDK: Resolving error markers":

cd [my workspace folder]

cd .metadata

find . -name .markers -exec rm {} \;

eclipse -clean -refresh

if you are in win32

FOR /F "tokens=*" %%G IN ('DIR /B /AD /S .markers') DO RMDIR /S /Q "%%G"

I solved the issue with this (from your eclipse folder):

eclipse -clean -refresh

I followed this url: http://tekhoow.blogspot.com.es/2013/06/eclipse-stuck-at-android-sdk-resolving.html (but the eclipse command was enough for me)

There is also another stack question with the same topic and say the same: "Clean all projects in your workspace and restart Eclipse to solve this problem." How to Resolving error markers Eclipse Android SDK


After trying all suggested ways, the only way solved my problem was deleting this file:

/workspace/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi

Original answer


I was having the same problem, and found the solution by going running "eclipse.exe -clean -refresh" from the cmd prompt. The above solution includes other commands done in the .metadata folder which doesn't apply to all versions of Eclipse. I am using Eclipse IDE for Android Developers 23.0.2.1259578.


There is a very simple way of invoking the above answers on Mac OSX:

cd workspace

rm ./.metadata/.plugins/org.eclipse.core.resources/.projects/*/.markers

(or)

rm ./.metadata/.plugins/org.eclipse.core.resources/.projects/Project-Name/.markers

cd eclipse.app/Contents/MacOS

./eclipse -clean -remove