android中遇到The connection to adb is down, and a severe error has occured.

Posted summer_fhb

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了android中遇到The connection to adb is down, and a severe error has occured.相关的知识,希望对你有一定的参考价值。

启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有adb.exe关闭掉.重启eclipse.但试过不管用.所以在外国网站上找到一种可行的方法:

1.先把eclipse关闭.

2.在管理器转到你的android SDK 的platform-tools下, 如图:


3.键入adb kill-server ,如果adb关闭了会提示 server not running *

4.再输入 adb start-server  如果不成功会提示 daemon not running. starting it now on port  ***的

   而如果成功的话不提示任何语句的.这时再重新打开eclipse就可以正常运行模拟器的了.


还有一种情况,真机调试的时候,你开了腕豆夹,导致端口冲突了,前面一直没留意这个问题 ,解决办法:安装完手机的驱动后,关闭腕豆夹,重启eclipse,应该就可以了。腕豆夹与eclipse一般不同时打开!

以上是关于android中遇到The connection to adb is down, and a severe error has occured.的主要内容,如果未能解决你的问题,请参考以下文章

[Android] The connection to adb is down, and a severe error has occured

[Android]The connection to adb is down, and a severe error has occured.

Android开发中使用数据库时出现java.lang.IllegalStateException: Cannot perform this operation because the connect

The connection to adb is down, and a severe error has occured

VS2017 + VS Android Emulator Could not connect to the debugger 解决方法

xbox android 蓝牙,How to Connect the Xbox Series X or S Controller to Android