Reasons for ADB startup failure and modification of ADB port number

Source: Internet
Author: User

When we use Android Studio, there are times when the ADB fails to open or starts.

ADB startup failure Reason: There are other programs that occupy the ADB default boot port number (like I have encountered, every time as long as the early start of the cool dog music, ADB will start failure ~ This is to let us concentrate on writing code, do not listen to the song side of the 0.0)

The solution to the problem is to open the terminal terminal of Android Studio

Use the following command:

Close ADB Service


Re-start the ADB service

ADB start-server

Result: (the terminal outputs the following code to indicate that the boot was successful)

ADB port (5037 for ADB default port) was modified to 5037

If it is occupied, the system will automatically match you to a port

* Daemon not running. Starting it now on port 5037 * * Daemon started successfully *

Reasons for ADB startup failure and modification of ADB port number

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.