Eclipse startup hang, “Android SDK: resolving erro

2019-03-07 19:46发布

I am aware that other people have tried to resolve this issue but have thus far found a suitable answer.

The error is, on start up, eclipse gets hung up on "Android SDK: resolving error markers" furthermore, if I try to interact with it, it freezes completely and I am forced to force quit.

This is the progress dialog: Eclipse Progress Dialog

I find it odd that it needs to resolve the error markers multiple times but I assume this is just for each project in my workspace.

this is my eclipse.ini:

eclipse.ini

Other things to note being that all that currently exists within my workspace is an Android Application, an App-engine endpoint project for the before application, and 4 needed referenced libraries. All mentioned projects are open. Is this a matter of me overloading the IDE or perhaps there is some loop I threw it into? I find it hard to imagine that this is a unique circumstance.

UPDATE: When I delete the app engine endpoint project from the workspace and restart eclipse, it loads fine. When I bring it back in, all good. But when I restart from there, it goes into error loop again. I am convinced that I have a circular reference in there somewhere but I cant figure out where. Thanks for your help.

17条回答
家丑人穷心不美
2楼-- · 2019-03-07 20:09

You should delete the .marker file from your all project which is exist in .metadata.plugins\org.eclipse.core.resources.projects(your all project).

查看更多
smile是对你的礼貌
3楼-- · 2019-03-07 20:10

Great topic!!

After reading all answers. I have found a simple solution and It work fine on windows 7.

I created a file "eclipse_start.bat" with this simple command lines:

cd /d C:\eclipse (the directory where is the eclipse.exe file)
eclipse -clean -refresh
cmd

Every time i have to launch Eclipse simply I launch this file so the program start without problem.

I tried also another solution. I added this line in the file "eclipse.ini" before all other line

-clean
-refresh

In this way I can launch directly Eclispe with the same result but in a more cleaned way.

Thanks to everybody!

查看更多
老娘就宠你
4楼-- · 2019-03-07 20:10

I have a simply solution without code. Stop the process "resolving error markers" using the red button, then uncheck Build Automatically (Project -> Build Automatically), close Eclipse and open it again. Check again Build Automatically.

Sometimes it happen again, then I do this same process. Boring, but it works.

查看更多
成全新的幸福
5楼-- · 2019-03-07 20:11

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.

查看更多
做个烂人
6楼-- · 2019-03-07 20:13

This has happened to me before.There are errors in the libraries related to the Google App Engine project, what you need to do is close Eclipse, go to your workspace and move every other project not related to the Google App Engine project to another location on your computer, then start Eclipse and make sure you resolve all the issues with the backend project ,then copy the other projects back to your workspace.

查看更多
萌系小妹纸
7楼-- · 2019-03-07 20:14

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"
查看更多
登录 后发表回答