問題描述
我無法在我的筆記本電腦上運(yùn)行 Android 應(yīng)用程序.Eclipse 經(jīng)常報(bào)同樣的錯(cuò)誤,就是ADB server didn't ack"
I could not run the android application never on my laptop. Eclipse gives same error constantly, that is "ADB server didn't ack"
當(dāng)我設(shè)法啟動(dòng) adb 服務(wù)器并重新打開 eclipse 時(shí),只要我運(yùn)行 android 應(yīng)用程序,控制臺(tái)就會(huì)出現(xiàn)同樣的錯(cuò)誤;ADB 服務(wù)器未確認(rèn).
When I manage to start adb server and re-open eclipse, as soon as I run the android application, same error comes to console; ADB server didn't ack.
除了重啟 adb 能不能給個(gè)思路
Could you give an idea except restarting adb
推薦答案
你需要把你SDK的adb的路徑設(shè)置成Genymotion.默認(rèn)情況下,Genymotion 使用自己的 ADB 工具(出于多種原因).如果兩個(gè)二進(jìn)制文件不兼容(如果您的 Android SDK 平臺(tái)工具或 Genymotion 有一段時(shí)間沒有更新),則會(huì)出現(xiàn)此問題.
You need to set the path of your SDK's adb into Genymotion. By default, Genymotion uses its own ADB tool (for many reasons). If the both binaries are not compatible (if your Android SDK platform tools or Genymotion has not been updated for a while) this problem happens.
要解決它,您可以從 Android SDK 定義一個(gè)特定的.要指定自定義 ADB 工具:
To solve it you can define a specific one from the Android SDK. To specify a custom ADB tool:
- 打開 Genymotion > 設(shè)置 > ADB.
- 選中使用自定義 Android SDK 工具.
- 通過單擊瀏覽"指定 Android SDK 的路徑.
- 點(diǎn)擊確定.
這篇關(guān)于adb 服務(wù)器已過期.殺死...無法綁定'tcp:5037' ADB 服務(wù)器沒有確認(rèn) * 無法在 ubuntu 14.04 LTS 中啟動(dòng)守護(hù)進(jìn)程 *的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!