Android ensure that ADB was correctly located at problem resolution

Source: Internet
Author: User

Encountered a problem description:

Run the Android console output

[2015-07-4 20:18:26-] The connection to ADB are down, and a severe error has occured.
[2015-07-4 20:18:26-] You must restart ADB and Eclipse.
[2015-07-4 20:18:26-] Ensure that ADB is correctly located at ' D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe ' and can be executed.

1. Problem Solving:

Baidu Google many said that the task manager kill the ADB or restart the ADB server, but I do not have the task manager adb, speculation that a program occupies the ADB port. Then follow this idea to find.

5037 view this port for the ADB default port as follows:

Netstat-aon|findstr "5037"

TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540

Discovery 6540 takes up 5037 ports, continues to view 6540 of the task, and discovers that it is Wandoujia. as shown below

Tasklist|findstr "6540"

Wandoujia_daemon.exe 6540 Console 1 4,276 K

The next problem is solved, kill Wandoujia_daemon.exe in Task Manager.

2. Add the D:\adt-bundle-windows-x86_64-20130219\sdk\platform-tools to the environment variable.
(Classpath or path)

3. Restart Eclipse, run the Android project, yes.

Android ensure that ADB was correctly located at problem resolution

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.