Eclipse startup hang, “Android SDK: resolving error markers”

后端 未结 17 1437
情话喂你
情话喂你 2021-01-30 01:37

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

相关标签:
17条回答
  • 2021-01-30 02:01

    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

    0 讨论(0)
  • 2021-01-30 02:02

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

    0 讨论(0)
  • 2021-01-30 02:02

    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!

    0 讨论(0)
  • 2021-01-30 02:05

    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.

    0 讨论(0)
  • 2021-01-30 02:07

    I frequently facing this problem. And my final approach was..

    1. First open TaskManager by pressing CTRL+ALT+DEL and delete all instance of adb.exe. if problem doesn't solve then go to next step without closing taskManager.
    2. Close Eclipse and also check it shouldn't be running in TaskManager(also finish its process).Then Open %USERPROFILE%/ on Windows or simply ~ on Linux/OS X (You can locate this folder from the Desktop). then open .android folder and delete cache folder and ddms.cfg and start Eclipse. If still your problem doesn't solve follow.

    3. If your problem doesn't solve by following above method then go to workspace folder and delete as suggested by this Answer

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

    4. If problem still doesn't solve then Pray to God.

    0 讨论(0)
  • 2021-01-30 02: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!

    0 讨论(0)
提交回复
热议问题