The connection to adb is down, and a severe error has occured
来源:互联网 发布:薛绍对太平公主 知乎 编辑:程序博客网 时间:2024/06/03 19:47
今天调试Android程序的时候出现了一个很是诡异的问题
按照网上的说法就是通过cmd杀掉adb.exe的进程,结果老是提示
C:\Android\sdk\platform-tools>adb kill-server* server not running *C:\Android\sdk\platform-tools>adb start-serveradb server is out of date. killing...ADB server didn't ACK* failed to start daemon *
经过不懈的努力终于查到一种方法,目标就是启动adb.exe呗
首先cmd下运行
adb nodaemon server
出现如下结果:
cannot bind 'tcp:5037'
这就好办了,不是没有绑定成功吗,我们来看看是谁这么大胆占用这这个端口呢
netstat -ano | findstr "5037"
输入命令回车之后出现如下结果:
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 3168 TCP 127.0.0.1:5037 127.0.0.1:49766 ESTABLISHED 3168 TCP 127.0.0.1:5037 127.0.0.1:50488 TIME_WAIT 0 TCP 127.0.0.1:5037 127.0.0.1:50489 TIME_WAIT 0 TCP 127.0.0.1:49766 127.0.0.1:5037 ESTABLISHED 3992
到此我们可以肯定端口被占用了,但是还是不知道是那个程序占用的,肿么办呢?接着来
tasklist|findstr "3168"
输入回车之后出现了,魔头现出原形了
tadb.exe 3168 Console 1 4,876 K
果断通过任务管理器把此进程杀掉,然后输入命令启用一下adb.exe
adb start-server
至此OK
- The connection to adb is down, and a severe error has occured
- The connection to adb is down, and a severe error has occured.
- eclipse 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
- The connection to adb is down, and a severe error has occured
- The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured.
- The connection to adb is down, and a severe error has occured.解决办法
- 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.
- The connection to adb is down, and a severe error has occured.
- 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.”
- The connection to adb is down, and a severe error has occured.
- 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.问题的解决办法
- The connection to adb is down, and a severe error has occured.
- POJ3295 Tautology
- 运动检测(前景检测)之(二)混合高斯模型GMM
- Android图形用户界面开发之ViewTree和DecorView详细介绍
- oracle数据库管理--对象、角色相关查询
- mysql中的函数
- The connection to adb is down, and a severe error has occured
- 实例化异常
- 问题:SQLServer 错误: 15404,无法获取有关 Windows NT 组/用户 MYPC/Administrator' 的信息,错误代码 0x534
- STM32的GPIO输入输出模式配置
- OSWorkFlow深入浅出(5)---Step详解
- qt中删除tableview中的选中行
- typedef用法
- Ural 1126. Magnetic Storms 单调队列
- 博客转移