码迷,mamicode.com
首页 > 数据库 > 详细

adb server is out of date. killing...

时间:2014-11-21 12:11:17      阅读:152      评论:0      收藏:0      [点我收藏+]

标签:style   io   sp   on   bs   ad   as   line   nbsp   

原因:端口被占用

检测: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...

标签:style   io   sp   on   bs   ad   as   line   nbsp   

原文地址:http://www.cnblogs.com/maozhige/p/4112266.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!