问题描述
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!