首页 > 代码库 > adb server is out of date. killing...

adb server is out of date. killing...

原因:端口被占用

检测:adb nodaemon server,显示 cannot bind ‘tcp:5037‘ 则说明端口被占用

解决办法:lsof -i tcp:5037 查看占用5037端口的进程,kill 掉该进程即可

解决方法:

  1. 启动Genymotion Shell,输入devices list查看启动的设备列表
  2. 在shell中输入adb connect 192.168.56.101
  3. 连接成功后,即可通过adb install foo.apk进行安装

几个命令:

  • adb kill-server: kill the server
  • adb devices: show devices list

adb server is out of date. killing...