更新(2014年10月11日):Genymotion发布了2.3.1修复了这个问题.https://cloud.genymotion.com/page/changelog/#231
更新(2014年10月21日):Genymotion回复了我的支持电子邮件,并指出@plackemacher推荐的解决方案是目前建议的解决方案.他们意识到了这个问题.
自从升级到Lollipop后,我在使用Genymotion模拟器时遇到了adb问题.设备未显示在Android Studio中,我在尝试运行时也遇到以下错误adb devices:
$ adb devices
adb server is out of date. killing...
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error:
Run Code Online (Sandbox Code Playgroud)
我不确定是不是因为Lollipop升级或巧合.
编辑/更新:
根据Chris Satton的评论,我调查了多个adb进程是否正在运行(ps aux | grep adb),看起来它是一个Genymotion冲突(?).它看起来包含自己的adb版本.
格雷格72550 0.0 0.0 611164 1508 ?? S 4:14 PM
0:00.02 /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/MacOS/tools/adb -s 192.168.56.102:5555 shell格雷格72523 0.0 0.0 635956 2296 ?? S 4:14 PM 0:00.02 adb -P 5037 fork-server服务器