code

Eclipse 시작 중단,“Android SDK : 오류 마커 해결”

codestyles 2021. 1. 5. 08:08
반응형

Eclipse 시작 중단,“Android SDK : 오류 마커 해결”


다른 사람들이이 문제를 해결하려고 시도했지만 지금까지 적절한 답을 찾았다는 것을 알고 있습니다.

오류는 시작시 eclipse가 "Android SDK : 오류 마커 해결"에서 중단된다는 것입니다. 또한 상호 작용을 시도하면 완전히 멈추고 강제 종료해야합니다.

진행률 대화 상자입니다. Eclipse 진행 대화 상자

오류 마커를 여러 번 해결해야하는 것이 이상하다고 생각하지만 이것이 내 작업 공간의 각 프로젝트에 해당한다고 가정합니다.

이것은 내 eclipse.ini입니다.

eclipse.ini

내 작업 공간 내에 현재 존재하는 모든 것은 Android 애플리케이션, 이전 애플리케이션에 대한 App-engine 엔드 포인트 프로젝트, 필요한 참조 라이브러리 4 개뿐이라는 점에 유의해야합니다. 언급 된 모든 프로젝트가 열려 있습니다. 이것이 내가 IDE를 과부하시키는 문제입니까 아니면 내가 던져 넣은 루프가 있습니까? 나는 이것이 독특한 상황이라고 상상하기 어렵다.

업데이트 : 작업 공간에서 앱 엔진 엔드 포인트 프로젝트를 삭제하고 Eclipse를 다시 시작하면 정상적으로로드됩니다. 다시 가져 오면 모두 좋습니다. 그러나 거기에서 다시 시작하면 오류 루프가 다시 발생합니다. 어딘가에 순환 참조가 있다고 확신하지만 어디에 있는지 알 수 없습니다. 당신의 도움을 주셔서 감사합니다.


이 문제는 내가 아래에서 찾을 때까지 나를 미치게 만들었습니다. 대답을 게시하지 않으면 나는 남자가 아닙니다! 당신도 미쳐가는 경우 이것이 도움이되기를 바랍니다.

Eclipse Stuck에서 "Android SDK : Resolving error markers"를 찾았습니다 .

cd [my workspace folder]

cd .metadata

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

eclipse -clean -refresh

당신이 win32에 있다면

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

이 문제를 해결했습니다 (이클립스 폴더에서).

eclipse -clean -refresh

나는이 URL을 따랐다 : http://tekhoow.blogspot.com.es/2013/06/eclipse-stuck-at-android-sdk-resolving.html (그러나 eclipse 명령은 나에게 충분했습니다)

또한 동일한 주제에 대한 또 다른 스택 질문 이 있습니다 . " 이 문제를 해결하려면 작업 공간의 모든 프로젝트를 정리하고 Eclipse를 다시 시작하십시오 ." 오류 마커를 해결하는 방법 Eclipse Android SDK


모든 제안 된 방법을 시도한 후 내 문제를 해결하는 유일한 방법은이 파일을 삭제하는 것입니다.

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

원래 답변


동일한 문제가 발생하여 cmd 프롬프트에서 "eclipse.exe -clean -refresh"를 실행하여 해결책을 찾았습니다. 위의 솔루션에는 모든 버전의 Eclipse에 적용되지 않는 .metadata 폴더에서 수행되는 다른 명령이 포함되어 있습니다. Android 개발자 23.0.2.1259578 용 Eclipse IDE를 사용하고 있습니다.


Mac OSX에서 위의 답변을 호출하는 매우 간단한 방법이 있습니다.

cd 작업 공간

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

(또는)

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

cd eclipse.app/Contents/MacOS

./eclipse -clean-제거


Google App Engine 프로젝트와 관련된 라이브러리에 오류가 있습니다. 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.


며칠 전에 알아 냈고 모두에게 알리는 것을 잊었습니다.

내가해야 할 일은 프로젝트를 다른 디렉토리에 저장하는 것뿐이었습니다. 작업 공간에서 삭제하고 App Engine 엔드 포인트 프로젝트도 삭제합니다.

Android 프로젝트를 다시 가져 와서 작업 공간에 복사하십시오. 자바 빌드 경로를 설정하고 다른 모든 것을 설정하십시오 ( '프로젝트 마스터'제어 클릭-> 팀-> 비활성화). 모든 것이 잘 보일 것입니다. 그런 다음 앱 엔진 프로젝트에 대한 모든 참조를 삭제합니다. 이는 'endpoint-libs / libcontainers ...'라는 폴더를 의미합니다.

데이터 모델을 참조하는 모든 곳에서 프로젝트가 중단됩니다.

이제 앱 엔진 프로젝트를 다시 가져오고 빌드 오류가 발생하지 않도록 필요한 사항을 변경합니다 (경고가 정상일 수 있음).

제어 클릭-> 클라우드 엔드 포인트 클라이언트 라이브러리 생성. 원래 프로젝트의 라이브러리가 대체됩니다.

Not entirely sure what caused this but for the time being it has been working beautifully.


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!


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.


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


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.


I used the answer above - first installing cygwin to get the Unix style "find" installed (note that the DOSbox "cmd" version of "find" does not work - in the following line at the top of your Eclipse workspace that hangs:

find . -name .markers -print -exec rm -i {}

Note that the "-i" specifies "interactive" remove - and will confirm each ".markers" file that is to be removed. Then I followed this with a

./eclipse.exe -clean -refresh

in the eclipse folder. I will check again (after the next hang :-) to see if just the second line is all that is necessary. Anyway eclipse is happy again and so am I! Note that installing the full cygwin package takes a while (many hours) - but it is worth it - just start the install at the end of the day and let it run overnight...


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


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


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


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!


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.

참조 URL : https://stackoverflow.com/questions/22771679/eclipse-startup-hang-android-sdk-resolving-error-markers

반응형