錯誤提示:

Failed to install helloworld.apk on device 'emulator-5554': timeout
或者
the user data image is used

 

原因:
由於模擬器已經開啟而沒有關閉或者非法關閉引起的。
解決方法:
刪除 C:\Documents and Settings\Administrator\.android\avd\對應版本.avd
下所有以.lock結尾的資料夾。



或者
Failed to install *.apk on device *:
timeout Launch canceled!
還有一種辦法:
在window->preferences->Android->DDMS->ADB connection time out (ms):

 

將這個值設置的大一些,預設為5000,我設置成500000,然後就OK了。
<!---->
1. Cleaning the project (Project->Clean)
2. Restarting device, Eclipse, laptop, all of the above...
3. Moving the project to a location without spaces, according to Failed to install apk on device 'emulator-5554': timeout <
arrow
arrow
    全站熱搜

    戮克 發表在 痞客邦 留言(0) 人氣()