8.11.2011

[Android] 如何解決「ERROR: the user data image is used by another emulator. aborting」的問題

資料來源:进则净土,退则凡尘

問題概述:
在啟動Android模擬器時出現以下錯誤,導致啟動失敗。
ERROR: the user data image is used by another emulator. aborting。

原因:
系統判斷你當前已經啟動了另外一個emulator,可能是某些正常操作或異常退出造成的。

解決方法:
1. 進入你avd目錄下:
如:C:\Documents and Settings\(User)\.android\avd\android2.3.avd

2. 刪除以lock結尾的資料夾。
(我簡單解釋下為什麼要刪除這些檔呢,其實.lock是加鎖,如果程式崩潰等原因導致無法清除這些以.lock結尾的資料夾,就會出現這個問題,也就是這個avd的鎖沒有被釋放,導致avd manager以為這個avd正在使用當中。)

3. 重新啟動 emulator

沒有留言: