Solution Please ensure the ADB is correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.

Source: Internet
Author: User

Encountered a problem description:

Run the Android console output

[2012-07-18 16:18:26-] The connection to ADB are down, and a severe error has occured.
[2012-07-18 16:18:26-] You must restart ADB and Eclipse.
[2012-07-18 16:18:26-] Please ensure this adb is correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.

Solve the problem:

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, in the task Manager kill Wandoujia_daemon.exe, run the Android program, OK.

1. Error:
BUILD FAILED
D:\workspace\ganji\build.xml:144:the following error occurred while executing the line:
d:\workspace\ganji\build.xml:271:unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar
Solve:
A simulator has been opened and cannot be recompiled and must be closed. For Ant


2. Error:
The connection to ADB are down, and a severe error has occured.
Who can solve this problem?
Solve:
CMD jumps to the SDK tools file path
ADB kill-server
and then ADB start-server

3. Error:
The connection to ADB are down, and a severe error has occured.
[2010-03-11 09:36:56-helloopone] You must restart ADB and Eclipse.
[2010-03-11 09:36:56-helloopone] Please ensure that ADB was correctly located at ' D:\OPhoneSDK_1.5
\platform-tools\adb.exe ' and can be executed.
Solve:
Method 1.cmd in ADB kill-server, and then Adb-startserver
Method 2. Method 1 doesn't work, kill Adb.exe in Task Manager, and then restart Eclipse.
Method 3. Methods 1 and 2 do not work, then look at the last sentence in the error: Platform-tools Adb.exe (my error is that there is no Platform-tools folder under the relevant path
, so I chose to create a new folder and copy all the files in tools to Platform-tools.
4. The previous method to try or not, it is recommended to re-install a system, it is better to change a system. Some Daniel also said: Ms has some minor problems

Original: http://blog.csdn.net/highning0007/article/details/12801057

Solution Please ensure the ADB is correctly located at ' D:\java\sdk\platform-tools\adb.exe ' and can be executed.

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.