執行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時,便可以查看到本機設備了