diff --git a/docs/html/wear/preview/downloads.jd b/docs/html/wear/preview/downloads.jd index 08ed233afc8c5..83a3f98452c89 100644 --- a/docs/html/wear/preview/downloads.jd +++ b/docs/html/wear/preview/downloads.jd @@ -626,7 +626,7 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement the accounts on the phone. -
  • Choose a Google account to add and sync to your watch. +
  • Choose a Google Account to add and sync to your watch.
  • Confirm the screen lock and enter the password to start the copying of @@ -647,8 +647,13 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement

    - To test with the Android Emulator, create a virtual device in Android - Studio as follows: + To test with the Android Emulator, + confirm that you have the latest version of the Android SDK + Platform-tools from the SDK Manager. +

    + +

    Create a new virtual device in Android Studio as follows:

      @@ -659,8 +664,8 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement
    1. Click Create Virtual Device.
    2. -
    3. In the Category pane, select Wear and - choose a hardware profile. +
    4. In the Category pane, select Wear + and choose a hardware profile. The Android Wear 2.0 Developer Preview is only optimized for round devices currently, so we recommend not using the square or chin profiles for now. @@ -679,16 +684,66 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement
    5. Verify the configuration of the Android Virtual Device (AVD) and click Finish.
    6. + +
    7. Start the emulator by selecting the new virtual device, clicking the + Play button, and waiting until + the emulator initializes and shows the Android Wear home screen. +

    - You can now test an application with a virtual preview device + Pair the phone with the emulator, and sync a Google Account, as follows: +

    + +
      +
    1. On the phone, install the Android Wear app from Google Play. +
    2. + +
    3. On the phone, enable Developer Options and USB Debugging. +
    4. + +
    5. Connect the phone to your computer through USB. +
    6. + +
    7. Forward the AVD's communication port to the connected handheld device + (each time the phone is connected):
      + adb -d forward tcp:5601 tcp:5601 +
    8. + +
    9. On the phone, in the Android Wear app, begin the standard pairing + process. 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. +
    10. + +
    11. On the phone, in the Android Wear app, tap the + Overflow button, and then tap + Pair with Emulator. +
    12. + +
    13. Tap the Settings icon. +
    14. + +
    15. Under Device Settings, tap Emulator. +
    16. + +
    17. Tap Accounts and select a Google Account, + and follow the steps in the wizard to + sync the account with the emulator. If necessary, type the screen-lock + device password, and Google Account password, to start the account sync. +
    18. +
    + +

    + You can now test an app with a virtual preview device in the Android Emulator. For more information about using virtual devices, see Managing AVDs with the AVD - Manager. + "{@docRoot}tools/devices/managing-avds.html"> + Create and Manage Virtual Devices.

    +