Problem description:
Run Android console output
[16:18:26-] the connection to ADB is down, and a severe error has occured.
[16:18:26-] You must restart ADB and eclipse.
[16:18:26-] Please ensure that ADB is correctly located at 'd: \ Java \ SDK \ platform-tools \ adb.exe 'and can be executed.
Solution:
Baidu and Google all say that the task manager kill ADB or restart ADB server, but my task manager does not have ADB. I guess a program occupies the ADB port. So we can find it by following this idea.
5037 for the default ADB port to view the port as follows:
Netstat-Aon | findstr" 5037"
TCP 127.0.0.1: 5037 0.0.0.0: 0 listening 6540
Port 6540 occupies port 5037. Check the task 6540. wandoujia is found as follows:
Tasklist | findstr" 6540"
Wandoujia_daemon.exe 6540 console 1 4,276 K
The problem is easily solved. In the Task Manager killdrop wandoujia_daemon.exe, run the android program, OK.