Android 模拟器 - 查找端口号

Android Emulator - Finding Port Number

我在 运行 Android Studio 中使用微软的 Visual Studio 模拟器 Android on Windows 10。(我无法使用默认模拟器,因为我在使用英特尔 HAXM 时遇到的问题)

有谁能告诉我一种简单的方法来找到模拟设备 运行 所在的端口号?我需要通过 Telnet 连接到模拟器才能发送短信命令。

通常,adb devices 命令会告诉您模拟器端口:

万一遇到错误:

'telnet' 未被识别为内部或外部命令, 可运行的程序或批处理文件。

争取:https://www.baswijdenes.com/portfolio/telnet-is-not-recognized-as-an-internal-or-external-command/

然后按照正常程序进行。