When you are programming
Run the Android console output
[2014-4-05 16:18:26-] The connection to ADB are down, and a severe error has occured. [2014-4-05 16:18:26-] You must restart ADB and Eclipse. [2013-4-05 16:18:26-] Please ensure this adb is correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.
Task Manager kill ADB or restart ADB server, if Task Manager does not have ADB, it should be a program that consumes the ADB port.
5037 view this port for the ADB default port as follows:
Netstat-aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 syn_sent 3772
Discovery 3772 takes up 5037 ports, continues to view 3772 of the task, and discovers that it is Wandoujia. as shown below
Tasklist|findstr "3772"
Wandoujia_daemon.exe 3772 Console 1 38,636 K
The next problem is solved, in the task manager shutdown to Wandoujia_daemon.exe, run Android program, OK
- 2
Add both Android-sdk-windows/platform-tools and android-sdk-windows/tools to the environment variable. (Classpath or path)
The connection to ADB are down, and a severe error have occured