From 6cb2cf715131e682fb72ea449c9b73b87a78edcc Mon Sep 17 00:00:00 2001 From: Bert McMeen Date: Thu, 26 May 2016 10:47:23 -0700 Subject: [PATCH] docs: Refinements for testing Bug: 28964312 Change-Id: Ie98b74860659046199f8ee920d1cd4899a9c7ce6 --- docs/html/wear/preview/downloads.jd | 77 ++++++++++++----------------- 1 file changed, 32 insertions(+), 45 deletions(-) diff --git a/docs/html/wear/preview/downloads.jd b/docs/html/wear/preview/downloads.jd index b119d57b0e721..86895047d7d24 100644 --- a/docs/html/wear/preview/downloads.jd +++ b/docs/html/wear/preview/downloads.jd @@ -418,13 +418,15 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement devices, fastboot oem unlock -
  • Navigate to the directory where you unzipped the system image in Step - 1. +
  • On the watch, select the Unlock option.
  • -
  • Execute the flash-all script by typing +
  • Navigate to the directory where you unzipped the system image in Step + 1. At the top level of that directory, + execute the flash-all script by typing flash-all.sh or, in the case of Windows, - flash-all.bat. + flash-all.bat. The following may need to + precede the command: ./
  • @@ -434,40 +436,10 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement

    - After the flash-all script finishes, your watch reboots - and soon will be ready for testing with the preview image. -

    - -
      -
    1. Attach the watch charger to the watch and plug the USB cord - into your computer, if it is not already plugged in. -
    2. - -
    3. Use the following adb - command to confirm that the watch is available: - adb devices -
    4. - -
    5. Use the following adb command to start the device in fastboot mode: - adb reboot bootloader -
    6. - -
    7. Use the following command to - lock the device's bootloader: fastboot flashing lock or, for some - devices, fastboot oem lock -
    8. - -
    9. On the watch, continue the boot by touching '0'. -
    10. - -
    - - -

    - Pair the watch with a - phone or tablet. The preview now is available for testing on the watch. - Before installing an app, enable the Developer Options menu, and ADB - debugging, on the watch as follows: + After the flash-all script finishes, your watch reboots. + Pair the watch with a phone or tablet. The preview now is available + for testing on the watch. Before installing an app, perform the + following steps on the watch to re-secure the watch's bootloader:

      @@ -490,6 +462,19 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement
    1. Connect the watch to your computer and tap Always allow from this computer.
    2. + +
    3. Use the following adb command to start the device in fastboot mode: + adb reboot bootloader +
    4. + +
    5. Use the following command to + lock the device's bootloader: fastboot flashing lock or, for some + devices, fastboot oem lock +
    6. + +
    7. On the watch, continue the boot by choosing + Start and touching '0'. +

    @@ -502,8 +487,8 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement

  • Open your app in Android Studio.
  • -
  • Select wear from the Run/Debug configuration - drop-down menu. +
  • Select your Wear app module name from the Run/Debug configuration + drop-down menu (typically wear).
  • Click the Play button. @@ -514,8 +499,7 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement

    - After your app is installed on the watch, you are prompted to start the - app on the watch. + After your app is installed on the watch, the app should run.

    @@ -567,10 +551,12 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement

  • Click Create Virtual Device.
  • -
  • In the Category pane, select Wear, choose a hardware profile, - and click Next. The Android Wear 2.0 Developer Preview +
  • 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. + Click Next.
  • Select an N image to download. The images may be on @@ -588,7 +574,8 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement

    - You can now test an application in the Android Emulator. For more information about using virtual devices, see Managing AVDs with the AVD