在实验室打开ADT发现整个ADT一直卡在Android SDK Content Loader: (0%),无法使用,如图所示:
在网上搜索,发现如下操作可以解决,参考http://stackoverflow.com/questions/13489141/eclipse-hangs-at-the-android-sdk-content-loader:
- 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
实际上就是删除.android文件夹里面的cache和ddms.cfg,重启eclipse即可。感谢找到方法的原作者。
时间: 2025-01-16 07:07:36