Eclipse的挂在Android SDK的内容装载机挂在、装载机、内容、Eclipse

由网友(我要的是简简单单)分享简介:我一直使用的Eclipse 4.2(朱诺释放20120920-0800)在OS X 10.8.2几个星期,现在,为Android 3.0及以上开发应用程序。我有一个四核i7处理器的MacBook Pro与固态硬盘,因此性能是不是一个问题。一切都很好。 I've been working with Eclipse 4....

我一直使用的Eclipse 4.2(朱诺释放20120920-0800)在OS X 10.8.2几个星期,现在,为Android 3.0及以上开发应用程序。我有一个四核i7处理器的MacBook Pro与固态硬盘,因此性能是不是一个问题。一切都很好。

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 Pro with an SSD, so performance is not an issue. Everything was fine.

在某些时候,我进口的,需要的Andr​​oid 2.2的Andr​​oid项目,所以我安装使用Android SDK管理器(21节)。从那时起,与Eclipse的工作需要永远。首先,它将打印状态消息以下右下角:

At some point I imported an Android project that required Android 2.2, so I installed that using the Android SDK manager (v.21). Ever since then, working with Eclipse takes forever. First of all, it will print the following in the status message at the bottom right:

Android SDK中内容加载程序:(0%)

Android SDK Content Loader: (0%)

这需要两分钟左右。具体消息检查项目,虽然它做了,所有的Andr​​oid项目以红色突出显示,由于Android的资源都没有发现。然后,它继续:

This takes two minutes or so. The specific message is "Check Projects" and while it's doing that, all Android projects are highlighted in red, because the Android resources aren't found. Then, it proceeds with:

加载数据为Android 2.2(100%)

Loading data for Android 2.2 (100%)

这会停留了几分钟。然后接着与Android 3.1和我已经安装了其他的SDK版本这样做。它基本上只要挂在第一次自动完成踢(如键入系统后。),或者当我访问Android preferences之前就已经加载。

This will stay for a couple of minutes. Then it goes on to do the same with Android 3.1 and other SDK versions I have installed. It basically hangs whenever the first autocompletion kicks in (e.g. after typing System.) or when I access the Android preferences before it has loaded.

下面是我的Andr​​oid SDK的状态:

Here's the state of my Android SDK:

我已经尝试过什么:

重新安装了Android SDK(通过自制),从而删除的/ usr /本地/库/ Android的SDK 完全

重新安装从头AVD插件(21节)。

Reinstalling the AVD plugin (v.21) from scratch.

我能做些什么,以了解这些问题的根源,并取回一个非常干净的国家?

What can I do to find out about the source of these problems and get back to a nice and clean state?

推荐答案

这是解决方案,我发现这工作正常:

This is the solution I found which works correctly:

确保Eclipse是不活跃的。如果是从任务管理器的进程选项卡激活杀食 开启%USERPROFILE%/ 在Windows或者干脆在Linux / OS X(你可以找到这个文件夹从桌面) 到 .android 文件夹(这可能是一个隐藏文件夹) 删除文件夹缓存位于内 .android 文件夹 删除文件 ddms.cfg 位于内 .android 文件夹 启动Eclipse 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

希望这会为你工作。

阅读全文

相关推荐

最新文章