执行adb devices提示 could not read ok from ADB Server

执行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

解决:

查看5037是否被占用,并杀掉占用的进程

Step1:netstat -aon|findstr "5037"

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

Step2:tasklist|findstr "51196"

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

Step3:taskkill -f -im kadb.exe

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

posted @ 2020-07-21 13:37  留白*  阅读(7928)  评论(0)    收藏  举报