Android sdk内容加载器在0%...没有任何作用 [英] Android sdk content loader at 0%... and nothing works

查看:125
本文介绍了Android sdk内容加载器在0%...没有任何作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对不起,如果我问这个错误的方式(如果我是,让我知道我应该做什么。)网站警告我不要离开这个答案,我没有足够的代表添加一个评论,所以我正在做一个新的帖子。



基本上,我有与这个海报完全相同的问题:

>

也就是说,当我打开Eclipse时,它显示消息Android sdk内容加载器0%,所以我的项目拒绝构建。但是我已经尝试了所有列出的响应:自动关闭构建,清理所有项目,删除我的调试密钥库,删除活动监视器中的adb进程(我在Mac上),切换工作区,重命名项目,关闭Eclipse并重新启动它。我还确保安装最新版本的SDK(4.2,API 17,Jelly Bean)。我的手机首先没有插入电脑。我甚至删除并重新安装ADT。而且我仍然遇到同样的问题。请,有人告诉我发生了什么问题,以及如何解决这个问题。

解决方案

下面的方案将工作。



转到您的工作区目录 \workspace\.metadata\.plugins\org.eclipse.core.resources\\.projects


  1. 复制 .projects 文件夹并备份临时。

  2. 现在删除 .projects 文件夹从工作区目录。 (您不会松动您的项目

  3. 启动Eclipse并等待所有进度结束在右下角。一旦完成所有进程,关闭Eclipse。

  4. 将您之前备份的 .projects 文件夹粘贴到 \ workspace\.metadata\.plugins\org.eclipse.core.resources\ 目录。覆盖现有的 .projects 文件夹。

  5. 再次启动Eclipse。所有这些都将工作。

在上述情况下,Eclipse将会像以前一样自动找到您的项目。您不必手动导入。



为我工作。


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 to add a comment, so I'm doing a new post.

Basically, I am having the exact same problem as this poster: Getting error message "Android sdk content loader stuck at 0%"

That is, when I open Eclipse it shows the message "Android sdk content loader 0%", and so my projects refuse to build. But I have tried ALL the responses listed there: turning off build automatically, cleaning all projects, deleting my debug keystore, deleting the adb process in the Activity Monitor (I'm on a Mac), switching workspaces, renaming projects, shutting Eclipse down and restarting it. I also made sure to install the latest version of the SDK (4.2, API 17, Jelly Bean). My phone was not plugged into the computer in the first place. I even deleted and reinstalled the ADT. And I STILL get the same problem. Please, somebody, tell me what's going wrong and how I can fix it.

解决方案

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.

这篇关于Android sdk内容加载器在0%...没有任何作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆