about 6 years ago

Eclipse 發生錯誤:
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 "sdk\platform-tools\" and can be executed.

1.切換到目錄 C:\Uers\XXX\Android-sdk\platform-tools

cd C:\Uers\XXX\Android-sdk\platform-tools

2.將Adb關閉與開啟(測試能否使用,若能使用則離開)

adb kill-server
adb start-server

3.發現有ADB Server din't ACK daemon的錯誤訊息,先找出是哪個port的

adb nodaemon server

4.找出是哪個服務 tcp:5037 是上一行指令所取得的 會取得正在執行的程式的PID

netstat -aon|findstr "5037"

5.從工作管理員中將這個PID的程序中止

6.執行第二個步驟,應就能操作

← javascript 每60秒自動更新頁面 VB DLL COM+ ADO Connetction 使用者登入失敗 →
 
comments powered by Disqus