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


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"


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM