繁体   English   中英

将 Wear OS 模拟器与物理 android 设备连接

[英]Connecting Wear OS emulator with a physical android device

I am trying to connect a wearable emulator with 4.4 Android phone following the documentation , however when i forward adb using the command adb -d forward tcp:5601 tcp:5601 nothing happens, and the screen gets stuck on this , clicking on "skip and完成设置”也不任何事情。 我试过了:

  1. 更改 USB 端口

  2. 重新启动两个设备(模拟器和手机)

  3. 使用adb forward tcp:4444 localabstract:/adb-hub; adb connect localhost:4444 adb forward tcp:4444 localabstract:/adb-hub; adb connect localhost:4444

  4. 确保我使用正确的 SDK 文件

有谁知道可能是什么问题?

  1. 您应该在 Wear OS 模拟器中打开开发者模式
  2. 在物理设备中也是如此(我的意思是开发人员模式)
  3. 在您的物理设备中,在 Google Play 市场中下载 Wear OS by Google
  4. 使用“adb -d forward tcp:5601 tcp:5601”
  5. 连接您的 Wear OS

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM