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:14

To me, nothing helped but then I went to .metadata/.plugins/org.eclipse.core.runtime and deleted files:

com.android.ide.eclipse.adt.prefs
com.android.ide.eclipse.ddms.prefs

Eclipse started normally again.

查看更多
倾城 Initia
3楼-- · 2019-03-07 20:15

So on a Mac, with Eclipse ADT, the clean and refresh method did the trick for me. Here are some slight modifications:

Go to ADT Location (if Android) -> Eclipse.app -> MacOS In this directory you should find eclipse. Type the following command and you should be good to go: ./eclipse -clean -refresh

查看更多
霸刀☆藐视天下
4楼-- · 2019-03-07 20:17

Create a text document in the Eclipse installation folder Paste this command and update with your installation folder name

"C:\Folder where Eclipse is installed\eclipse\eclipse.exe" -clean -refresh

Rename to CleanEclipse.bat and run every time you have this issue Will save you a lot of time!

查看更多
相关推荐>>
5楼-- · 2019-03-07 20:23

Try go to workspace folder, in \workspace.metadata.plugins\org.eclipse.core.resources.projects You will see folders with your projects. Open every folder and remove files ".markers". After restart Eclipse

查看更多
淡お忘
6楼-- · 2019-03-07 20:24

go to the eclipse folder with cmd,(Shift+right click on eclipse folder and chose open with command promt) then type "eclipse -clean -refresh "

查看更多
登录 后发表回答