Android in the connection to ADB are down, problems and solutions

Source: Internet
Author: User

Self-summary of the problems and methods that often appear in Android that are not solved
(the third method after four days of torture ....) Hey

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 There are some small problems [size=large][/size] with the start and shut down the ADB server

When you start the Android server, the ADB server will also start up together. When you are not sure if the ADB server is started? You can use the "adb start-server" command to start the ADB server, and if it is started, do nothing, and the ADB server will start directly if it has not been started. If you do not want to continue debugging monitoring, you can use the "adb kill-server" command to turn off the ADB server.

E:\ANDROID\ANDROID-SDK-WINDOWS\PLATFORM-TOOLS>ADB Start-server

E:\ANDROID\ANDROID-SDK-WINDOWS\PLATFORM-TOOLS>ADB Kill-server

E:\ANDROID\ANDROID-SDK-WINDOWS\PLATFORM-TOOLS>ADB devices

* Daemon not running. Starting it now on Port 5037 *

Could not read OK from ADB Server, error = 109

* Failed to start daemon *

Error:cannot Connect to Daemon

E:\ANDROID\ANDROID-SDK-WINDOWS\PLATFORM-TOOLS>ADB devices

* Daemon not running. Starting it now on Port 5037 *

* Daemon started successfully *

List of devices attached

2cbe000400000001 Device

Android ADB shell:unknown Host Service

After we enter the ADB shell in the Windows DOS window, the following error occurs: ADB server is an out of date. Killing ... ADB server didn ' t ACK * failed to start daemon * Error:unknown Host service, this problem occurs because the pea clip is installed on your PC, just open "task Manager" and find ' wand Oujia_helper.exe ', break this down and you can

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.