You often encounter the correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can executed.
Problem description encountered:
Running the Android program console output
[2012-07-18 16:18:26-] The connection to ADB are down, and a severe error has occured.
[2012-07-18 16:18:26-] You must restart ADB and Eclipse.
[2012-07-18 16:18:26-] Please ensure the ADB is correctly located in ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.
Solve the problem:
Baidu Google said that the task manager kill the ADB or restart the ADB server, but my task manager does not have the ADB, speculation is that a program occupies the ADB port. So follow this idea to find.
5037 View the port for the ADB default port as follows:
Netstat-aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 Listening 6540
Found that 6540 took up 5037 ports and continued to view 6540 of the task and found it was Wandoujia. as shown below
Tasklist|findstr "6540"
Wandoujia_daemon.exe 6540 Console 1 4,276 K
The next question is solved, kill Wandoujia_daemon.exe in Task Manager, run Android program, OK.
1. Closing the pea pod process
2.ADB Kill-server
3.ADB Start-server
4. Restart Eclipse
Ok