欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Android 模擬器(emulator-5554...)出現(xiàn)錯(cuò)誤解決辦法

 更新時(shí)間:2016年11月22日 11:15:46   投稿:lqh  
這篇文章主要介紹了Android 模擬器出現(xiàn)錯(cuò)誤解決辦法的相關(guān)資料,如:Unable to get view server version from device,F(xiàn)ailed to install helloworld.apk on device 'emulator-5554': timeout,這種常見錯(cuò)誤,解決辦法,需要的朋友可以參考下

Android 模擬器 出現(xiàn)錯(cuò)誤解決辦法:

1.Unable to get view server version from device

exlipse下編寫好android應(yīng)用程序時(shí)候,右鍵項(xiàng)目 run as android application 彈出一對(duì)話框說出現(xiàn)問題 點(diǎn)擊詳細(xì)說 空指針異常。打開ddms模式,

里面提示 Unable to get view server version from device emulator-5554 ,此時(shí)我的android模擬器是運(yùn)行著的。

解決辦法:刪除工作空間中的.metadata 文件夾

一下為詳細(xì)步驟:

(1):打開eclipse工作空間(在位置在你的eclipse中菜單windows ——> Preferences ——> General Startup and Shutdown ——>Workspaces 里面顯示)
(2):關(guān)閉eclipse , 刪除上面打開的工作空間中.metadata 文件夾
(3):點(diǎn)擊 gotoWorkspaces (就是那個(gè)最后面的向右的箭頭)發(fā)現(xiàn)eclipsse中沒有任何項(xiàng)目
(4):(導(dǎo)入項(xiàng)目)點(diǎn)擊File菜單 import按鈕 打開對(duì)話框中選擇General中Existing Prjoect into workspace 再點(diǎn)擊 Next

第一行中右面按鈕選擇Browse選擇workspase所在的位置(剛剛刪除了文件夾的那個(gè)文件夾)點(diǎn)擊finish 完成項(xiàng)目的導(dǎo)入(不要選擇copy project into workspace)

注:這個(gè)地方我處理的時(shí)候當(dāng)我再次導(dǎo)入項(xiàng)目的時(shí)候發(fā)現(xiàn)很多錯(cuò)誤,后來我關(guān)閉之后重新打開軟件就沒問題了,不知道為什么(按照上面的說法不是導(dǎo)入工程,是導(dǎo)入.metadata,不知道是否是這樣)?

2.Failed to install helloworld.apk on device 'emulator-5554': timeout

通過查詢國(guó)外技術(shù)網(wǎng)站,找到了辦法。

window----preferences----android----ddms----ADB connection time out(ms)

默認(rèn)5000,改成10000即可。

感謝閱讀,希望能幫助到大家,謝謝大家對(duì)本站的支持!

相關(guān)文章

最新評(píng)論