Android自用—–ERROR: the user data image is used by another emulator. aborting

來源:互聯網
上載者:User

 

 問題原因:avd的加鎖機制使然。 .lock是加鎖,如果程式崩潰或者不是正常退出等原因導致無法清除這些以.lock結尾的檔案夾,就會出現這個問題,也就是這個avd的鎖沒有被釋放,導致avd manager以為這個avd正在使用當中。他會預設鎖定該模擬器還是在運行,資源被佔有了。 

解決: 
1。winXP: 

C/Documents and Settings / 使用者 / .android /的AVD / *裝置* / (比如我的目錄是:C:\Documents and Settings\Administrator\.android\avd\android2.0.avd) 
然後刪去以.lock結尾的檔案夾就行(我簡單解釋下為什麼要刪除這些檔案呢,其實.lock是加鎖,如果程式崩潰等原因導致無法清除這些以.lock結尾的檔案夾,就會出現這個問題,也就是這個avd的鎖沒有被釋放,導致avd manager以為這個avd正在使用當中。) 

2/。win7: 

C/使用者/user/.android/avd/找到該目錄下與模擬器對應的avd,然後刪除其中的.lock檔案即可。

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.