Android 程序无法运行ADB server didn't ACK问题

来源:互联网 发布:网络用语 夯是什么意思 编辑:程序博客网 时间:2024/06/06 09:04

究其源就是adb server没启动

经过分析整理如下:

[html] view plaincopy
C:\Users\xxxx>adb nodaemon server
cannot bind ‘tcp:5037’
原来adb server 端口绑定失败

继续查看到底是哪个端口给占用了
[html] view plaincopy
C:\Users\xxxxxx>netstat -ano | findstr “5037”
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 4236
TCP 127.0.0.1:5037 127.0.0.1:49422 ESTABLISHED 4236
TCP 127.0.0.1:49422 127.0.0.1:5037 ESTABLISHED 3840
打开任务管理器kill掉4236 这个进程。ok

cmd执行

tasklist|findstr “4236 ”
打开任务管理器,
找到进程名,
然后结束进程树。

Done

0 0
原创粉丝点击