原文:You must restart adb and Eclipse多種情形分析與解決方案android
一:錯誤提示
The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at ‘D:\xxx\xxx\adb.exe’and can be executed.
.net
二: 5037端口被佔用rest
a: 開始菜單 → 運行 → cmd → 回車執行
b: netstat -aon|findstr "5037" → 回車執行 → 獲得5037端口運行程序PID
c: tasklist|findstr "要查詢的PID" → 回車執行 → 獲得5037端口運行程序的名稱
d: 打開任務管理器 → 關閉查詢到的程序,釋放5037端口
orm
三:adb server意外終止server
a: 重啓adb server
blog
四:因更新adt而致使adb server沒法使用ip
a: 重啓adb server → 重啓後無效,則繼續執行下面的步驟
a: 啓動一個虛擬機,並保持啓動
b: 重啓Eclipse
get
五:系統找不到adb目錄cmd
a: android-sdk/tools
b: android-sdk/platform-tools虛擬機
c: 將上述2個路徑添加到系統環境變量path中.