How to resolve the ensure that ADB is correctly located at ...

Source: Internet
Author: User

The Android development environment was built yesterday afternoon, but bad weather-the implementation of the new Android project always shows examples such as the following questions:

[2014-10-30 15:41:47-] The connection to ADB are down, and a severe error has occured. [2014-10-30 15:41:47-] You must restart ADB and Eclipse. [2014-10-30 15:41:47-] Please ensure this adb is correctly located at ' <--here shows the full path of adb.exe--' and can be executed.
Efforts to most of the day is finally to solve the problem, now summed up:

1. Close Eclipse. Open Windows Task Manager. See if there are adb.exe or adb.exe *32 processes in the process;

2. If the Windows Task Manager has a adb.exe or adb.exe *32 process, the process is closed. Starting eclipse again is possible;

3. Assume that there is no adb.exe or adb.exe *32 process in Windows Task Manager. The following are some possible attempts:

A. Open the Computer DOS form and start manually via ADB start-server. Assuming that a successful startup occurs, you will be able to find the Adb.exe or Adb.exe *32 process in Windows Task Manager:


b, assuming the above method does not work, then it must be the port of the Adb.exe process is occupied by other processes. At this point we are able to solve this problem through the I, II, and III three steps:

I, because adb.exe default port is 5037. So you can see the port usage by using the following command:

C:\users\gaohuanjie>netstat-aon|findstr "5037"  TCP    0.0.0.0:5037           0.0.0.0:0              LISTENING       2736
II, through the above command can be seen 2736port occupied 5037port, through such as the following command to see which process used 2736port:

C:\users\gaohuanjie>tasklist|findstr "2736" TFtpServr.exe                 2736 Services                   0     13,616 K
III. Locate the process named TFtpServr.exe in Windows Task Manager, end the process, and then start eclipse (assuming the Adb.exe process failed to start. Manual start-up is possible).

How to resolve the ensure that ADB is correctly located at ...

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.