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"

相关文章:

  • 2022-12-23
  • 2021-04-10
  • 2022-12-23
  • 2022-01-09
  • 2021-12-22
  • 2022-12-23
  • 2021-12-09
  • 2022-12-23
猜你喜欢
  • 2022-02-14
  • 2021-09-29
  • 2022-02-13
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
相关资源
相似解决方案