安卓解决adb被占用的问题

来源:互联网 发布:tp3.2数据库配置 编辑:程序博客网 时间:2024/05/17 03:43
ADB server didn't ACK
* failed to start daemon *

error: unknown host service


使用adb时,若出上面的错,使用adb kill-server是没有用的,因为此时是其他进程的监听了端口,而不是adb。我用cmd+命令管理器解决:

1.输入netstat -ano | findstr "5037"

找到下列进程

  TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING      6096

2.输入TASKLIST | findstr "6096"  把6096这个进程给关闭就可以了



成功
0 0
原创粉丝点击