Deep into Android the connection to ADB are down issues and solutions _android

Source: Internet
Author: User
Your own summary of the problems and methods that often appear in Android
1. Error: Build FAILED
D:\workspace\ganji\build.xml:144:the following error occurred while executing this line:
d:\workspace\ganji\build.xml:271:unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar
Solve:
An emulator 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 the 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 the ADB is correctly located at ' D:\OPhoneSDK_1.5
\platform-tools\adb.exe ' and can be executed.
Solve:
Method 1.cmd in ADB kill-server, then Adb-startserver
Method 2. Method 1 kills Adb.exe in Task Manager and then restarts Eclipse.
Method 3. Methods 1 and 2 do not work, then see the last sentence in the error: whether there are adb.exe in the Platform-tools (my mistake is not platform-tools folder under the relevant path)
, so I chose to create a new folder and copy all the files in the tools to Platform-tools.
4. Before the method tried or not, it is recommended to reinstall a system, preferably a different system. Some Daniel has also said that there are some small problems with MS [Size=large][/size]
Report
Start and turn off ADB server
When you start the Android server, the ADB server is also launched together. When you are not sure if the ADB server is started? The ADB server can be started with the ADB start-server command, and if nothing is started, the ADB server is started directly if it is not started. If you do not want to continue debugging monitoring, you can use the ADB kill-server command to turn off the ADB server.
Copy Code code as follows:

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
when we enter the ADB shell in a Windows DOS window, the following error occurs: ADB server is Out of date.  killing ... ADB server didn ' t ACK * failed to start daemon * Error:unknown host service  , this problem occurs because of the PEA clips installed on your computer, just open the "task management Device ", find ' Wandoujia_helper.exe ', and take this to the end of the can
Related Article

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.