今天升级了一下Android SDK结果开着genymotion模拟器的情况下却找不到设备。

adb devices查看会出现如下错误:

1
2
3
4
5
6
7
➜ ~ adb devices
List of devices attached
adb server version (32) doesn't match this client (35); killing...
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版本的问题了,在genymotion中有个设置成你自己的sdk地址即可,重启模拟器后即可:

Reference:https://twitter.com/chiuki/status/709410135551168512

听首音乐放松一下

author: Jiezhi.G
email: Jiezhi.G@gmail.com

欢迎关注我的公众号『日技』