adb devices 报错 * daemon not running. starting it now on port 5037 * ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon

原因是 :5037端口被占用

1.解决方法:1.查找5037被谁占用   netstat -ano | findstr "5037"

adb devices 报错 * daemon not running. starting it now on port 5037 * ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon

 

 我的被这个端口占用了

2.查看对应的是哪个任务  tasklist | findstr "6384"

adb devices 报错 * daemon not running. starting it now on port 5037 * ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon

 

 这里不用管,直接到任务管理器(ctrl+alt+delete),找到adb.exe 进行停止该进程

adb devices 报错 * daemon not running. starting it now on port 5037 * ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon

 

3.再次运行adb devices

adb devices 报错 * daemon not running. starting it now on port 5037 * ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon

 

adb devices 报错 * daemon not running. starting it now on port 5037 * ADB server didn't ACK * failed to start daemon * error: cannot connect to daemon

上一篇:oracle中rownum效率低的原因以及解决办法


下一篇:mysql 截取字符串