簡體   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