当前位置:Gxlcms > 数据库问题 > The connection to adb is down, and a severe error has occured.

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

时间:2021-07-01 10:21:17 帮助过:2人阅读

 启动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一般不同时打开!

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

标签:

人气教程排行