1. Description of problems 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.
2. Problem solving
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.