Eclipse hangs at the Android SDK Content Loader

前端 未结 17 1876
感情败类
感情败类 2020-11-30 16:14

I\'ve been working with Eclipse 4.2 (Juno release 20120920-0800) on OS X 10.8.2 for a few weeks now, building apps for Android 3.0 and above. I have a quad core i7 MacBook P

相关标签:
17条回答
  • 2020-11-30 16:43

    It turns out this problem indeed occurs when your internet connection is flaky, slow, etc.

    As soon as I got back to my normal internet connection, the content would load fine again, within less than a few seconds.

    0 讨论(0)
  • 2020-11-30 16:43

    I have tried all the solution but i didn't get solution. After that i have disconnected Internet and deleted ddms.cfg from .android folder -> open eclipse -> dialog of statistics send to Google? -> Selected NO and Finally Worked for Me.

    Edited:

    I have tried eclipse -clean command in Command Prompt and that also worked for me.

    Note: For eclipse -clean command first you have to select path of eclipse folder where you have placed.

    Thanks.

    0 讨论(0)
  • 2020-11-30 16:46

    Worked! All I did was to open Terminal and typed:

        cd documents/workspace/.metadata/.plugins
    

    and then... typed

    rm -rf
    

    ... in that .plugins category.

    0 讨论(0)
  • 2020-11-30 16:47

    I prepared little script to make it easy dealing with this reoccuring and very annoying problem. Open Terminal, then:

    open ~/.bash_profile
    

    at the end of the file paste this function:

    function eclipse-clean() {
      echo "removing ddms.cfg file" 
        cd ~/.android/
        rm ddms.cfg 
      echo "removing cache"
        cd cache/
        rm -rf *
      echo "done! you can open eclipse now."
    }
    

    then all you have to do now is:

    source ~/.bash_profile
    

    and whenever you are stuck just type in Terminal window:

    eclipse-clean
    
    0 讨论(0)
  • 2020-11-30 16:50

    I have used some other answers here to fix this problem but I came across it again recently, and none worked. I didn't want to re-install or delete my workspace, so I finally found one that did work that might help someone else. Delete the file:

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

    You can make a backup first, if you like. It stores your workbench settings (perspective state, file paths for menu options, etc.) But eclipse loaded and I didn't have to re-install anything like some answer suggest. And I haven't seen this anywhere.

    0 讨论(0)
  • 2020-11-30 16:50

    I'm on a Mac and using ADT, can confirm that the following worked for me.

    cd workspace/.metadata/.plugins/org.eclipse.core.resources/.projects
    rm -rf *
    

    No amount of restarting the Eclipse, or rebooting the Mac was helpful. It seems that Eclipse gets into this stage because of stopping abruptly. I had to force boot my Mac and this issue seems to be happening since then.

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