【问题标题】:WiFi Connected Android Phone to Watch Emulator over ADBWiFi 连接的 Android 手机通过 ADB 观看模拟器
【发布时间】:2017-10-10 18:16:44
【问题描述】:

我已经开始使用adb over WiFi,但现在无法将我的手机连接到 Android 手表模拟器。

pairing a usb-connected phone to a watch emulator我需要在模拟器和手机之间做一些端口转发:

adb -d forward tcp:5601 tcp:5601

如何在连接 wifi 的手机和手表模拟器之间进行这种转发?

以下是设备列表:

~ adb devices
List of devices attached
emulator-5554   device
192.168.0.100:5555  device

【问题讨论】:

    标签: android android-emulator adb wear-os


    【解决方案1】:

    您需要使用-s option指定要转发到的设备:

    adb -s 192.168.0.100:5555 forward tcp:5601 tcp:5601
    

    【讨论】:

      猜你喜欢
      • 2016-12-09
      • 1970-01-01
      • 2014-10-09
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-14
      • 1970-01-01
      相关资源
      最近更新 更多