android搭建环境错误 daemon not running. starting it now on port 5037 ADB server didn't ACK

来源:互联网 发布:mysql cast 编辑:程序博客网 时间:2024/05/29 11:16

1、输入cmd进入dos界面,进入android-sdk-windows\platform-tools目录,执行下面命令

启动adb start-server
出现下面错误
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *


2、执行下面命令
adb nodaemon server
出现下面错误
cannot bind 'tcp:5037'
原来adb server 端口绑定失败 


3、输入下面的命令查询哪个占用了5037端口
netstat -ano | findstr "5037"
出现下面信息
TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       1616


4、打开任务管理器kill掉1616这个进程,到此解决


5、再次运行下面命令,为空则可以

netstat -ano | findstr "5037"



转载路径:http://www.cnblogs.com/weixing/p/3400916.html

0 0
原创粉丝点击