如何在Memu / Bluestacks / Nox App Player等模拟器上使用adb [英] How to use adb with emulator like Memu / Bluestacks / Nox App Player
问题描述
我想在Android模拟器中使用 adb
。
我可以伪造USB连接吗?怎么可能?
I want to use adb
with an android emulator.
Can I fake a USB connection or how is this possible ?
仿真器已植根, USB-Debugging Option是在
我也通过adbWireless之类的应用程序尝试过,但是我发现主机未能响应(10060)错误。
I also tried via apps like adbWireless but I get host has failed to respond (10060) error.
是否总是需要USB连接进行初始化?
如何将 adb
与仿真器连接?
Do I always need a USB-connection for initializing?
How is it possible to connect adb
with an emulator?
推荐答案
我使用的是Memu 2.3版,用于将其连接到Android studio的端口是21503。导航到sdk的platformtools目录,然后在cmd中执行以下命令。如果失败,请尝试再次执行。您也可以安装三星USB驱动程序,然后重试。
I'm using Memu version 2.3 and the port used to connect it to Android studio is 21503. Navigate to your sdk's platformtools directory and execute the following in cmd.If it fails try to execute it again. You can also install samsung USB driver and try again.
adb connect localhost:21503
这篇关于如何在Memu / Bluestacks / Nox App Player等模拟器上使用adb的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!