adb.exe 的问题 - AdbHostServer.cpp:93:无法连接到端口上的 adb 守护程序:5037

Problems with adb.exe - AdbHostServer.cpp:93: Unable to connect to adb daemon on port: 5037(adb.exe 的问题 - AdbHostServer.cpp:93:无法连接到端口上的 adb 守护程序: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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

How can I use CClistview in COCOS2d Android?(如何在 COCOS2d Android 中使用 CClistview?)
cocos2d-android: how to display score(cocos2d-android:如何显示分数)
Sqlite database not copied from asset folder Android(Sqlite 数据库未从资产文件夹 Android 复制)
SQLite Database Copy Appears Corrupted When Generated by Device and not Emulator(SQLite 数据库副本在由设备而不是模拟器生成时出现损坏)
Android file copy(安卓文件拷贝)
Android how to detect Copy event of Edittext in android(Android如何在android中检测Edittext的Copy事件)