【问题标题】:Android Emulator - Finding Port NumberAndroid 模拟器 - 查找端口号
【发布时间】:2015-12-28 02:16:48
【问题描述】:

我在 Windows 10 上使用 Microsoft 的 Visual Studio Emulator for Android 运行 Android Studio。(由于英特尔 HAXM 出现问题,我无法使用默认模拟器)

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

【问题讨论】:

  • IMO,默认端口可以是5555,你可以阅读more here。如果不正确,请阅读here

标签: android emulation telnet


【解决方案1】:

如果您遇到错误:

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

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

然后按照正常程序进行。

【讨论】:

    【解决方案2】:

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

    【讨论】:

    • 这非常有效,我只需要导航到我的 ADB 安装目录即可使用此命令。
    • 是的,我的配置在环境变量path
    • 在 Android Studio 的控制台中也可以在 Mac 终端中工作
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-31
    • 2012-06-05
    • 2021-09-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多