Android ADB server didn't ack * failed to start daemon * simple and effective solution

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.