Reprinted please indicate the source: http://blog.csdn.net/xiaanming/article/details/9401981
ADB server didn't ack can be annoying to many new friends. I used to have this problem when I first started Android, but I am Baidu or Google, I don't know how to solve this problem. Many new friends in the group will ask this question. To be honest, I don't have the ultimate solution to this problem (the best way to solve this problem, haha ), I did not take him seriously. today, I opened eclipse and connected to my mobile phone to prepare for debugging the program. The following information appears:
The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb is correctly located at 'D:\android-2.2-windows\platform-tools\adb.exe' and can be executed.
Then I will follow his requirements, restart eclipse and ADB, and confirm that the ADB path is correct. Then, when I run the program again, it will still not work, then I started Baidu. Some friends said that they should first run ADB kill-server under DOS (you must configure your ADB path in the environment variable or enter ADB. in the directory of ext), and then in ADB start-server, when I run ADB start-server, DOS displays the following information:
* daemon not running. starting it now * ADB server didn't ACK * failed to start daemon *
The listener uses port 5037. Next I will introduce the solution.
- To check who is using port 5037, start -- run -- cmd to the command prompt and enter netstat-Aon | findstr "5037", as shown in
- We can't see who occupies port 5037 from the above. We need to find the application that occupies the port according to the PID (2748) following, and enter tasklist | findstr "2748", as shown in
Note: The 5037port is occupied by adb.exe. If it is you, it is another application.
- End the process and enter taskkill/F/T/Im your input name, for example, adb.exe. If you are re-connecting your phone, you will find that the program is running.
This is not a big problem, but it is also a tough problem for new users. Therefore, I will record my solution to this problem here, I hope I can provide some help to anyone who has encountered this problem. If I write an article to help you with some help, please help me with the article. Thank you!