亚洲开发银行和Genymotion错误:" ADB服务器是过时的。杀...不能绑定'TCP:5037“ADB服务器没有ACK" [英] ADB and Genymotion error: "adb server is out of date. killing... cannot bind 'tcp:5037' ADB server didn't ACK"

查看:358
本文介绍了亚洲开发银行和Genymotion错误:" ADB服务器是过时的。杀...不能绑定'TCP:5037“ADB服务器没有ACK"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试使用亚行外壳从终端开始genymotion模拟器后,我得到这个错误:

Trying to use adb shell from terminal after starting genymotion emulator and I get this error:

adb server is out of date.  killing...
cannot bind 'tcp:5037'
ADB server didn't ACK
* failed to start daemon *
error:

阅读计算器这个答案来运行这个命令 killall -9亚行所以我做了,然后说变就变genymotion设置使用自定义Android SDK工具如下:

I read in this answer on stackoverflow to run this command killall -9 adbso I did and then it says to change genymotion settings to use custom Android SDK tools as the following:

也这样做,你可以在上面的截图看到,但我还是继续得到同样的错误消息。

Also did that as you can see in the above screenshot but I still keep getting the same error message.

我的Andr​​oid工作室ADB日志给下面的消息时,我尝试运行亚行外壳

My android Studio ADB logs give the following message whenever I try to run adb shell:

 DeviceMonitor: Adb connection Error:EOF
 DeviceMonitor: Connection attempts: 1

我甚至尝试创建一个新的虚拟设备,并使用它没有任何成功。

I even tried creating a new virtual device and using it without any success.

推荐答案

如果你有1.0.31或更低更新亚行1.0.32

update the adb to 1.0.32 if you have 1.0.31 or lower

adb version
Android Debug Bridge version 1.0.31
wget -O - https://skia.googlesource.com/skia/+archive/cd048d18e0b81338c1a04b9749a00444597df394/platform_tools/android/bin/linux.tar.gz | tar -zxvf - adb
sudo mv adb /usr/bin/adb
sudo chmod +x /usr/bin/adb
adb version
Android Debug Bridge version 1.0.32

这篇关于亚洲开发银行和Genymotion错误:" ADB服务器是过时的。杀...不能绑定'TCP:5037“ADB服务器没有ACK"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆