From 70c6411a10340694baa310aff2191cdfa98dfaff Mon Sep 17 00:00:00 2001 From: Bert McMeen Date: Mon, 3 Oct 2016 13:32:54 -0700 Subject: [PATCH] Docs: Wear preview 3 - tweaks to gradle snippet Bug: 31910705 Change-Id: Ia58ac7bec8e748a797c6213bbd31a05f876e2424 --- docs/html/wear/preview/downloads.jd | 12 ++++++++++-- docs/html/wear/preview/features/app-distribution.jd | 6 +++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/docs/html/wear/preview/downloads.jd b/docs/html/wear/preview/downloads.jd index 83a3f98452c89..da6a06d485c0c 100644 --- a/docs/html/wear/preview/downloads.jd +++ b/docs/html/wear/preview/downloads.jd @@ -653,6 +653,12 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement "{@docRoot}studio/intro/update.html#sdk-manager">SDK Manager.

+

+ After you create a virtual device as described below, follow the steps for + setting up a phone with the beta version of + the Android Wear companion app. +

+

Create a new virtual device in Android Studio as follows:

@@ -696,7 +702,9 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement

    -
  1. On the phone, install the Android Wear app from Google Play. +
  2. Follow the steps for + setting up a phone with the beta version of + the Android Wear companion app.
  3. On the phone, enable Developer Options and USB Debugging. @@ -740,7 +748,7 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement in the Android Emulator. For more information about using virtual devices, see + "{@docRoot}studio/run/managing-avds.html"> Create and Manage Virtual Devices.

    diff --git a/docs/html/wear/preview/features/app-distribution.jd b/docs/html/wear/preview/features/app-distribution.jd index 319efa6b65545..afc95165e49b7 100644 --- a/docs/html/wear/preview/features/app-distribution.jd +++ b/docs/html/wear/preview/features/app-distribution.jd @@ -132,6 +132,9 @@ page.image=images/cards/card-n-sdk_2x.png
     android {
    +    // Allows you to reference product flavors in your
    +    // phone module's build.gradle file
    +    publishNonDefault true
         ...
         defaultConfig
         {
    @@ -148,6 +151,7 @@ android {
                 minSdkVersion 24
             }
         }
    +}
     

    @@ -158,7 +162,7 @@ android {

     dependencies {
         ...
    -    wearApp project(path: ':wearable', configuration: 'wear1Release')
    +    wearApp project(path: ':wear', configuration: 'wear1Release')
     }