执行adb devices提示

List of devices attached * daemon not running; starting now at tcp:5037 could not read ok from ADB Server * failed to start daemon

方法1,关闭防火墙,

could not read ok from ADB Server_夜星辰2023的博客-CSDN博客

我的电脑防火墙是关的,所以看方法2:

方法2:查看5037是否被占用,并杀掉占用的进程

Step1:netstat -aon|findstr "5037"

结果: TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       51196

这个地方,可能是LISTENING,也可能是别的词,

Step2:tasklist|findstr "51196"

结果:kadb.exe                     51196 Console                    1      7,488 K

Step3:taskkill -f -im kadb.exe

完成!此时再次使用adb devices时,便可以查看到本机设备了

感谢作者:

9 . adb device 报错could not read ok from ADB Server * failed to start daemon adb.exe: failed to check-CSDN博客

参考链接

评论可见,请评论后查看内容,谢谢!!!
 您阅读本篇文章共花了: