adb server version (36) doesn't match this client (39);

问题描述

手机无法连接电脑
adb server version (36) doesn’t match this client (39);

☁  ~  adb devices
List of devices attached
adb server version (36) doesn't match this client (39); killing...
adb E 08-01 11:51:28 16094 1798575 usb_osx.cpp:333] Could not open interface: e00002c5
adb E 08-01 11:51:28 16094 1798575 usb_osx.cpp:294] Could not find device interface
error: could not install *smartsocket* listener: Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon

☁  ~  adb kill-server
☁  ~  adb start-server
adb server version (36) doesn't match this client (39); killing...
adb E 08-01 11:52:46 16127 1802960 usb_osx.cpp:333] Could not open interface: e00002c5
adb E 08-01 11:52:46 16127 1802960 usb_osx.cpp:294] Could not find device interface
error: could not install *smartsocket* listener: Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
☁  ~

问题原因

1.开了模拟器Genymotion
genymotion中的adb命令被占用冲突了(往往是被360手机助手占用了adb的端口所致),直接打开genymotion的Setting,切换到第四个标签页(ADB),选择Use custom Android Sdk tools,然后选择我们开发使用的Sdk路径即可。

2.Chrome调试webview占用了端口
Close all chrome://inspect/#devices windows/tabs

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值