zoukankan      html  css  js  c++  java
  • eclipse一直卡住,出现 “android sdk content loader 0%” 卡住的错误分析及解决方法

    分析:这种问题之前没有遇到过,也不知道什么原因,直接去网上查询,打开www.stackoverflow.com,输入要查询问题的关键词,我们输入 “android sdk content loader 0%”,查询结果如下:
    solution-of-eclispe-open-eclipse-occurs-android-sdk-content-loader-0-percent-on-stack-overflow
          我们找到投票数最多的这个回答:

    delete-the-cache-folder-and-ddms-cfg-file-to-solve-the-problem-of-eclispe-open-eclipse-occurs-android-sdk-content-loader-0-percent-on-stack-overflow

    以下是我所找到的有效的解决方法:
    1.首先确保 eclipse 已经关闭。如果 eclipse 还处于打开状态,请从任务管理器的进程列表中杀死 eclipse 。
    2.在 Windows 上可以通过 %USERPROFILE%/,在 Linux/OS X 上通过 “~” (可以从桌面载入这个文件夹),进入当前目录。
    3.进入 .android 文件夹 (这个文件夹可能是一个隐藏文件夹)
    4.删除 .android 文件夹中的 “cache” 文件夹以及里面的全部内容。
    5.删除 .android 文件夹中的 “ddms.cfg” 文件。
    6.打开 eclipse。
    希望以上方法对你有效。

    如果上边这个不行,就用下边这个:

    Same problem, stuck at 0%. Ran

    /Applications/eclipse/eclipse -clean

    and everything worked great again. Modify that path for linux boxes.

    Update (from the remark from @Janusz )

    For mac users with eclipse outside application directory your clean command will looks similar to:

    path/eclipse/Eclipse.app/Contents/MacOS/eclipse -clean 

     就是cmd进入你的eclipse安装路径,执行这个命令:eclipse -clean

    总结:能用 Google 就尽量用 Google,不要用 Baidu。很多的问题在 Stack Overflow 上面找答案可能更能解决问题。记得以前看到一个段子:程序员只认两个网站:Github 和 Stack Overflow。虽然这个有点夸大,但是说明了这两个网站的重要性!

  • 相关阅读:
    面向对象1 继承与接口
    简易版爬虫(豆瓣)
    调用模块与包
    正则表达式2 以及configparser模块,subprocess模块简单介绍
    正则表达式(re模块)
    sys,logging,json模块
    常用模块(time,os,random,hashlib)
    内置函数与匿名函数
    day 19 yeild的表达式 面向过程 内置函数
    mysql中写存储过程加定时任务
  • 原文地址:https://www.cnblogs.com/jycboy/p/4937732.html
Copyright © 2011-2022 走看看