[Operational error in ANDROID]ANDROID development: Adb.exe

Source: Internet
Author: User

The error occurred while debugging:

The connection to ADB are down, and a servera error has occured.
YouMust restart ADBand Eclipse. Please Ensurethat ADBIsCorrectly located at ' D:......\platform-tools\adb.exe ' and can is executed.

For this question, the online check, there are several ways:
1, determine whether there are adb.exe in the platform-tools, there is no need to copy or download;

2. Application interface conflict with Pea pod
The ADB interface is 5037, and if the Pea pod is opened, the Pea pod will occupy 5037 of the interface.
The process of the Pea pod needs to be turned off and then in CMD by first killing (if there is ADB process in the Task Manager) ADB and then opening the ADB
Step: cmd--input adb kill-server---ADB start-server
Restart eclipse;

3. Check if the port is occupied
ADB has a port of 5037, and if no pea pods are running, you can check to see if there are other programs that are using port 5037 with the following command
Steps:
1) Cmd---Netstat-ano|findstr "5037"

2) View the port of process 3280: Tasklist|findstr "3280"

Check if this is Adb.exe, if not, 5037 port is occupied, then disconnect the relevant process, restart ADB and eclipse in accordance with the method in 2;

4, the above method is not feasible
Online to the method is almost the same, but after several times, the problem is still, restart the computer is not.
Finally, copy the Adb.exe and Hprof-conv.exe files from the Platform-tools file to the Tools folder, and then perform
After ADB kill-sever and ADB start-server and restarted eclipse, the problem was finally solved.

[Operational error in ANDROID]ANDROID development: Adb.exe

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.