Android ADB Port Occupancy Issue Solution

Source: Internet
Author: User
Problem Description: The connection to ADB was down, and a severe error had occured. You must restart ADB and eclipse.please ensure that ADB are correctly located at ' E:\setups\android\android-2.1_r01-windows \tools\adb.exe ' and can be executed. Process: Today with a USB cable phone connected to the computer, it may be the port is occupied. Workaround: Mode 15,037 is the ADB default port, and if 5037 ports are occupied, view the process that occupies the port pidc:\users\wwx229495>netstat-aon|findstr 5037 TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 3676 View all processes through PID c:\users\wwx229495>tasklist/fi "pid eq 3676" image name PID session name Session # Memory Usage ================ ========= ======== ================ =========== ============svchost.exe 3676 Services 0 13,800 K kill the process that occupies the port C:\Users\ Wwx229495>taskkill/pid 3676/f succeeded: The process of PID 3676 has been terminated. The mode two itself configures the ADB server port, using an uncommon value. As simple as defining the value of Android_adb_server_port in the system environment variable. It is best to choose a 5-digit port number (10000 ~ 65535), which is not easy to repeat. As long as you add a android_adb_server_port to the environment variable, the value fills in your own defined port. Linux as long as export $ANDROID _adb_server_port = Custom port, you can.

Android ADB Port Occupancy Issue Solution

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.