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

Source: Internet
Author: User

When Android is developed, sometimes when we turn on the virtual machine to execute the program. An error similar to the following is reported:

[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. There are times when you need to deploy the environment again, and sometimes you need to build the simulator and create a new AVD.

B: May be the default port is occupied, type netstat in cmd to view. Switch off the conflicting port program, or set a new port.

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

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

How to resolve:

(1) The general situation does not need to be too troublesome. Switch directly to the DDMS page and select reset adb to do so.



(2) If the first step, or not, run the operation: (Operation in Win7)

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

Watermark/2/text/ahr0cdovl2jsb2cuy3nkbi5uzxqv/font/5a6l5l2t/fontsize/400/fill/i0jbqkfcma==/dissolve/70/gravity /southeast ">

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

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

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.