Android sdk content loader at 0%… and nothing works

后端 未结 10 2188
逝去的感伤
逝去的感伤 2020-12-13 02:37

Sorry if I\'m asking this the wrong way (if I am, let me know what I should be doing instead.) The site warned me not to leave this as an answer and I don\'t have enough rep

相关标签:
10条回答
  • 2020-12-13 02:44

    Another solution is to clean up project-specific meta data directories which are stored under your workspace directory. $ cd workspace/.metadata/.plugins/org.eclipse.core.resources/.projects $ rm -rf *

    Restart Eclipse.

    0 讨论(0)
  • 2020-12-13 02:49

    This is the solution I found which works correctly:

    Make sure that eclipse is not active. If it is active kill eclipse from the processes tab of the task manager Open %USERPROFILE%/ on Windows or simply ~ on Linux/OS X (You can locate this folder from the Desktop) Go to .android folder (This may be a hidden folder) Delete the folder cache which is located inside .android folder Delete the file ddms.cfg which is located inside .android folder Start Eclipse Hope that this will work for you.

    0 讨论(0)
  • 2020-12-13 02:54

    Below scenario will work.

    Go to your workspace directory \workspace\.metadata\.plugins\org.eclipse.core.resources\\.projects

    1. Copy .projects folder and take backup for temporary.
    2. Now Delete .projects folder from workspace directory. (you will not loose your projects)
    3. Start Eclipse and wait for all progress ends at right/bottom corner. Once completed all processes, shutdown Eclipse.
    4. Paste .projects folder which you have backup earlier to \workspace\.metadata\.plugins\org.eclipse.core.resources\ directory. Overwrite existing .projects folder.
    5. Start Eclipse again. And all will work.

    In above scenario Eclipse will automatically finds your projects as earlier. You do not have to import manually.

    Working for me.

    0 讨论(0)
  • 2020-12-13 02:59

    I myself ran into this issue, and what have I not tried, all the possible stackoverflow links. None helped.

    While eclipse is running and showing me the stupid "Android content (killing me:)".I started the task manager , and I saw adb, cmd.exe is running. Killed it. And voila!.

    0 讨论(0)
  • 2020-12-13 03:00

    The way that works for me (at least last 2 years):

    • Go to your workspace in console, enter to metadata: cd .metadata
    • run: find . -name .markers -exec rm {} \;
    • Start your Eclipse with -clean and -refresh keys:

    In my case run:

    /Users/maxim/POC/adt-bundle-mac-x86_64-20140702/eclipse/Eclipse.app/Contents/MacOS/eclipse -clean -refresh
    

    That's all.

    After Eclipse will up, wait for full stuff loading and you can restart it if you don't want to see all log output in console.

    0 讨论(0)
  • 2020-12-13 03:02

    I closed all open projects before the progress status could get to "Android sdk content loader 0%" and then opened them one by one. Fortunately the problem got resolved.

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