ADB and Genymotion error: quot;adb server is out of date. killing... cannot bind #39;tcp:5037#39; ADB server didn#39;t ACKquot;(ADB 和 Genymotion 错误:“adb 服务器已过期.杀戮...无法绑定tcp:5037 ADB 服务器没有确认“)
问题描述
在启动 genymotion 模拟器后尝试从终端使用 adb shell,我收到此错误:
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:
我在 this answer on stackoverflow 中阅读以运行此命令 killall -9 adb 所以我做了,然后它说要更改 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.
每当我尝试运行 adb shell 时,我的 android Studio 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 或更低版本,请将 adb 更新到 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
这篇关于ADB 和 Genymotion 错误:“adb 服务器已过期.杀戮...无法绑定'tcp:5037' ADB 服务器没有确认“"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:ADB 和 Genymotion 错误:“adb 服务器已过期.杀戮...无法绑定'tcp:5037' ADB 服务器没有确认“"
基础教程推荐
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
