- 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