Encountered a problem description:
Run the Android console output
The connection to ADB are down, and a severe error has occured.
You must restart ADB and Eclipse.
Please ensure this adb is correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.
Solve the problem:
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
Find 6540 occupies 5037 ports, continue to view 6540 of the task, found to be xxx. As shown below
Tasklist|findstr "6540"
Wandoujia_daemon.exe 6540 Console 1 4,276 K
The next problem is solved, in the task Manager kill Xx.exe, run the Android program, OK.
Then restart Eclipse.
This article is from the "Java White Battlefield" blog, be sure to keep this source http://8023java.blog.51cto.com/10117207/1684163
Java\sdk\platform-tools\adb.exe ' and can be executed.