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