問題描述
我無法在我的筆記本電腦上運行 Android 應用程序.Eclipse 經(jīng)常報同樣的錯誤,就是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"
當我設法啟動 adb 服務器并重新打開 eclipse 時,只要我運行 android 應用程序,控制臺就會出現(xiàn)同樣的錯誤;ADB 服務器未確認.
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 能不能給個思路
Could you give an idea except restarting adb
推薦答案
你需要把你SDK的adb的路徑設置成Genymotion.默認情況下,Genymotion 使用自己的 ADB 工具(出于多種原因).如果兩個二進制文件不兼容(如果您的 Android SDK 平臺工具或 Genymotion 有一段時間沒有更新),則會出現(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 定義一個特定的.要指定自定義 ADB 工具:
To solve it you can define a specific one from the Android SDK. To specify a custom ADB tool:
- 打開 Genymotion > 設置 > ADB.
- 選中使用自定義 Android SDK 工具.
- 通過單擊瀏覽"指定 Android SDK 的路徑.
- 點擊確定.
這篇關于adb 服務器已過期.殺死...無法綁定'tcp:5037' ADB 服務器沒有確認 * 無法在 ubuntu 14.04 LTS 中啟動守護進程 *的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!