简体   繁体   English

如何在Android Wear 2.0仿真器中添加Google帐户?

[英]How to add a Google account in Android wear 2.0 Emulator?

I need to add a Google account to view the on-watch Play Store in the emulator. 我需要添加一个Google帐户,才能在模拟器中查看手表上的Play商店。

添加Google帐户提示

After you set up a phone and set up an emulator , you may then pair the phone with the emulator and sync a Google Account using the following steps: 设置好手机设置模拟器后 ,您可以按照以下步骤将手机与模拟器配对并同步Google帐户:

  1. Follow the steps for setting up a phone. 请按照设置电话的步骤操作。
  2. On the phone, enable Developer Options and USB Debugging. 在电话上,启用“开发人员选项”和“ USB调试”。
  3. Connect the phone to your computer through USB. 通过USB将手机连接到计算机。
  4. Forward the AVD's communication port to the connected handheld device (each time the phone is connected): 将AVD的通信端口转发到连接的手持设备(每次连接电话):

    adb -d forward tcp:5601 tcp:5601

  5. On the phone, in the Android Wear app, begin the standard pairing process. 在手机上的Android Wear应用中,开始标准配对过程。 For example, on the Welcome screen, tap the Set It Up button. 例如,在“欢迎”屏幕上,点击“ 设置”按钮。 Alternatively, if an existing watch already is paired, in the upper-left drop-down, tap Add a New Watch . 或者,如果已将现有手表配对,则在左上角的下拉菜单中,点击添加新手表

  6. On the phone, in the Android Wear app, tap the Overflow button, and then tap Pair with Emulator . 在电话上的Android Wear应用中,点击“溢出”按钮,然后点击“ 与仿真器配对”
  7. Tap the Settings icon. 点击设置图标。
  8. Under Device Settings, tap Emulator . 在设备设置下,点击仿真器
  9. Tap Accounts and select a Google Account, and follow the steps in the wizard to sync the account with the emulator. 点按“ 帐户”并选择一个Google帐户,然后按照向导中的步骤将帐户与仿真器同步。 If necessary, type the screen-lock device password, and Google Account password, to start the account sync. 如有必要,请输入屏幕锁设备密码和Google帐户密码,以开始帐户同步。

For more information, see Download and Test with a Device 有关更多信息,请参见使用设备下载和测试。

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

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