Adb.exe program cannot execute when Eclipse builds Android development environment

Source: Internet
Author: User

Problem Description: Execute Android app times wrong

The error message is as follows:

The connection to ADB are down, and a severe error has occured.
You must restart ADB and Eclipse.
Please ensure this adb is correctly located at ' D:\adt-bundle-windows-64\sdk\platform-tools\adb.exe ' and can be executed.


First look at the relevant path below the Platform-tools folder or whether there are adb.exe files in the Platform-tools folder, if all are not caused by these two reasons, then perform the following two steps.

The first step:

Start-and-run->cmd the path to "CD placement of Adb.exe files", such as "CD D:\adt-bundle-windows-64\sdk\platform-tools";

Enter the Netstat-aon|findstr "5037" carriage return (5037 is the ADB default port), if no output indicates that the port is not occupied, proceed directly to the second step.

Otherwise:

For example, the port of the output is as follows:

TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540

Discovery 6540 takes up 5037 ports, typing tasklist|findstr "6540" Enter to see what the 6540-port process is

For example

Wandoujia_daemon.exe 6540 Console 1 4,276 K

Then the process of opening task Manager ends the Wandoujia_daemon.exe process.


Step Two:

CMD jumps to the place Adb.exe file path,

Enter ADB kill-server return, and then hit ADB start-server, and finally restart Eclipse.

This article is from the "8422499" blog, please be sure to keep this source http://8432499.blog.51cto.com/8422499/1438181

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.