[Android] The connection to ADB are down, and a severe error has occured.

Source: Internet
Author: User

At the time of Android development, sometimes when we turn on the virtual machine to run the program, we report something similar to the following error:

[2015-07-19 15:08:29-testxiaoyanlibrary] The connection to ADB are down, and a severe error has occured.
[2015-07-19 15:08:29-testxiaoyanlibrary] You must restart ADB and Eclipse.
[2015-07-19 15:08:29-testxiaoyanlibrary] Please ensure that ADB was correctly located at ' G:\eclipse\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\ Adb.exe ' and can be executed.

To Baidu a bit, may be the following situation:

A: The simulator is unstable and sometimes requires a re-deployment of the environment, sometimes with the need to re-establish the simulator and create a new AVD.

B: The default port may be occupied, type netstat in cmd, turn off conflicting port programs, or set a new port.

C: Add the Platform-tools directory and the tools directory to the PATH environment variable.

D: Turn eclipse into DDMS mode and restart ADB and Eclipse.

Solution:

(1) The general situation does not need too much trouble, directly switch to the DDMS page, select Reset adb.



(2) If the first step, or not, do the following: (Operation in Win7)

Start Task Manager--Process page--Find and select the Adb.exe process--end the process--and take the first step


(3) If you find that the status of the virtual machine is not online, turn it off, restart the open, then.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

[Android] The connection to ADB are down, and a severe error has occured.

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.