Problems with adb.exe - AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037(adb.exe 的问题 - AdbHostServer.cpp:93:无法连接到端口上的 adb 守护程序:5037)
问题描述
Android Studio 3.4 的 adb.exe 有问题.
I have a problem with adb.exe of Android Studio 3.4.
当我运行模拟器时,我得到了这个错误:
When I run the emulator, I get this error:
模拟器:模拟器:错误:AdbHostServer.cpp:93:无法连接到 adb端口上的守护进程:5037
Emulator: emulator: ERROR: AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037
我用 adb.exe 的套路打开了一个终端:C:UsersChristianAppDataLocalAndroidSdkplatform-tools
I opened a terminal with the rute of the adb.exe: C:UsersChristianAppDataLocalAndroidSdkplatform-tools
在这里我尝试了 adb kill-server 然后 adb start-server 得到了这个:
And here I tried with adb kill-server and then adb start-server and I get this:
*daemon not running; starting now at tcp:5037
*daemon started successfully
当我再次运行时出现同样的错误,我在终端中使用命令 adb devices 得到这个:
When i run again the same error appears, i get this in terminal with the command adb devices:
List of devices attached
emulator-5554 offline
我使用系统映像模拟 Nexus 5X API 28:Pie 28 x86 Android 9.0.
I emulate Nexus 5X API 28 with System Image: Pie 28 x86 Android 9.0.
我下载了最新版本 用于 Windows 的 abd.exe
I download the last version of abd.exe in for Windows
我也重新安装了Android Studio和模拟器,但还是出现错误.
I also reinstalled the Android Studio and the emulator, but the error still appears.
我该如何解决?
推荐答案
需要先运行adb start-server
再运行emulator -avd
这篇关于adb.exe 的问题 - AdbHostServer.cpp:93:无法连接到端口上的 adb 守护程序:5037的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:adb.exe 的问题 - AdbHostServer.cpp:93:无法连接到端口上的 adb 守护程序:5037


基础教程推荐
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01