Android sdk内容加载器在0%...没有任何作用 [英] Android sdk content loader at 0%... and nothing works
问题描述
>
也就是说,当我打开Eclipse时,它显示消息Android sdk内容加载器0%,所以我的项目拒绝构建。但是我已经尝试了所有列出的响应:自动关闭构建,清理所有项目,删除我的调试密钥库,删除活动监视器中的adb进程(我在Mac上),切换工作区,重命名项目,关闭Eclipse并重新启动它。我还确保安装最新版本的SDK(4.2,API 17,Jelly Bean)。我的手机首先没有插入电脑。我甚至删除并重新安装ADT。而且我仍然遇到同样的问题。请,有人告诉我发生了什么问题,以及如何解决这个问题。
下面的方案将工作。
转到您的工作区目录 \workspace\.metadata\.plugins\org.eclipse.core.resources\\.projects
- 复制
.projects
文件夹并备份临时。 - 现在删除
.projects
文件夹从工作区目录。 (您不会松动您的项目) - 启动Eclipse并等待所有进度结束在右下角。一旦完成所有进程,关闭Eclipse。
- 将您之前备份的
.projects 文件夹粘贴到
\ workspace\.metadata\.plugins\org.eclipse.core.resources\
目录。覆盖现有的.projects
文件夹。 - 再次启动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
- Copy
.projects
folder and take backup for temporary. - Now Delete
.projects
folder from workspace directory. (you will not loose your projects) - Start Eclipse and wait for all progress ends at right/bottom corner. Once completed all processes, shutdown Eclipse.
- Paste
.projects
folder which you have backup earlier to\workspace\.metadata\.plugins\org.eclipse.core.resources\
directory. Overwrite existing.projects
folder. - 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屋!