Android adb.exe program does not start up the specific solution
- 2020-05-19 05:50:05
- OfStack
Please ensure that is located at at D:\java\sdk\ platform-tools \ adb. exe' and can be executed
Description of problems encountered:
Run the android program console output
[2012-07-18 16:18:26 - ] The connection to adb is 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 that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.
Problem solving:
Most people say that task manager kill dropped adb or restarted adb server, but my task manager does not have adb. I guess some program occupies adb port. So follow this idea to find.
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
Note that the 6540 occupies port 5037. Continue to check the task of the 6540 and find that it is wandoujia as shown below
tasklist|findstr "6540"
wandoujia_daemon.exe 6540 Console 1 4,276 K
Then the problem is solved. Drop wandoujia_daemon.exe in task manager kill, and run the android program, ok.
1. Close the pea pod process
2.adb kill-server
3.adb start-server
4. Restart Eclipse
OK