adb shell 提示adb server didnot ack解决办法

操作步骤:
1 cmd中输入 adb nodaemon server
会提示cannot bind 'tcp:5037'

2 cmd中输入 netstat -anob | findstr "5037"

会出来一堆 找到这里
image.png

发现8808端口被占用

3 adb中输入 tasklist | findstr "8808"

提示
image.png

告诉你是studio占用了端口
4 关掉 android studio,再次执行adb shell 成功!
image.png

注意:不一定是studio占用(有可能是豌豆荚、eclipse等等) 也不一定是8808端口 按流程走完,哪个占了关哪个 没毛病

你可能感兴趣的:(adb shell 提示adb server didnot ack解决办法)