Encountered a problem description:
Run the Android console output
[2015-07-4 20:18:26-] The connection to ADB are down, and a severe error has occured.
[2015-07-4 20:18:26-] You must restart ADB and Eclipse.
[2015-07-4 20:18:26-] Ensure that ADB is correctly located at ' D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe ' and can be executed.
1. Problem Solving:
Baidu Google many said that the task manager kill the ADB or restart the ADB server, but I do not have the task manager adb, speculation that a program occupies the ADB port. Then follow this idea to find.
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 LISTENING 6540
Discovery 6540 takes up 5037 ports, continues to view 6540 of the task, and discovers that it is Wandoujia. as shown below
Tasklist|findstr "6540"
Wandoujia_daemon.exe 6540 Console 1 4,276 K
The next problem is solved, kill Wandoujia_daemon.exe in Task Manager.
2. Add the D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools to the environment variable.
(Classpath or path)
3. Restart Eclipse, run the Android project, yes.
Android ensure that ADB was correctly located at problem resolution