gpt4 book ai didi

android - ADB 和 Genymotion 错误 : "adb server is out of date. killing... cannot bind ' tcp:503 7' ADB server didn' t ACK"

转载 作者:IT老高 更新时间:2023-10-28 22:20:13 28 4
gpt4 key购买 nike

在启动 genymotion 模拟器后尝试从终​​端使用 adb shell,我收到此错误:

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

我阅读了 this answer on stackoverflow运行这个命令 killall -9 adb 所以我做了,然后它说要更改 genymotion 设置以使用自定义 Android SDK 工具,如下所示:

enter image description here

正如您在上面的屏幕截图中看到的那样,我也这样做了,但我仍然收到相同的错误消息。

每当我尝试运行 adb shell 时,我的 android Studio ADB 日志都会显示以下消息:

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

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

最佳答案

如果您有 1.0.31 或更低版本,请将 adb 更新到 1.0.32

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

关于android - ADB 和 Genymotion 错误 : "adb server is out of date. killing... cannot bind ' tcp:503 7' ADB server didn' t ACK",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30757191/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com