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

来源:互联网 发布:python使用手册 编辑:程序博客网 时间:2024/06/06 12:57

当我们在运行用eclipse运行Android程序的时候 有时候控制台会提示The connection to adb is down, and a severe error has occured.
当出现这种情况的时候我们首先打开任务管理器,在进程中找到adb.exe这里写图片描述
然后点击结束进程
这时候运行cmd 在cmd中输入adb start-server命令 常规情况下就会成功 如下图这里写图片描述
但是偶尔会提示adb server is out of data. killing….
这个时候只需要重新执行 adb start-server命令知道出现daemon not running. starting it now on port 5037 提示就行了。

0 0
原创粉丝点击