- 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 Delete the file ddms.cfg
which is located inside Start Eclipse
以上是来自stackoverflow的被顶最多的答案。意思是:
1.确保Eclipse没有在运行,若是在运行,到进程管理器中把它中止。
2.windows用户的话,打开用户目录,个人是“C:\Users\Administrator”,若是是Linux/OS X,直接在终端输入“~”进入用户目录
3.进入".android"文件夹(这个文件夹也许是隐藏文件夹)
4.删除该目录下的cache文件夹
5.删除该目录下的ddms.cfg文件
6.重启Eclipse