Docs: Wear preview 3 - tweaks to gradle snippet
am: 70c6411a10
Change-Id: Ia167f04b40f1edf2cf4b95d2e1b56b3efa6b8a75
This commit is contained in:
@@ -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</a>.
|
"{@docRoot}studio/intro/update.html#sdk-manager">SDK Manager</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
After you create a virtual device as described below, follow the steps for
|
||||||
|
<a href="#set_up_a_phone">setting up a phone</a> with the beta version of
|
||||||
|
the Android Wear companion app.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p>Create a new virtual device in Android Studio as follows:
|
<p>Create a new virtual device in Android Studio as follows:
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -696,7 +702,9 @@ This is the Android Wear SDK Preview License Agreement (the “License Agreement
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<ol>
|
<ol>
|
||||||
<li>On the phone, install the Android Wear app from Google Play.
|
<li>Follow the steps for
|
||||||
|
<a href="#set_up_a_phone">setting up a phone</a> with the beta version of
|
||||||
|
the Android Wear companion app.
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li>On the phone, enable Developer Options and USB Debugging.
|
<li>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 <a href=
|
in the <a href=
|
||||||
"{@docRoot}tools/devices/emulator.html">Android Emulator</a>. For more
|
"{@docRoot}tools/devices/emulator.html">Android Emulator</a>. For more
|
||||||
information about using virtual devices, see <a href=
|
information about using virtual devices, see <a href=
|
||||||
"{@docRoot}tools/devices/managing-avds.html">
|
"{@docRoot}studio/run/managing-avds.html">
|
||||||
Create and Manage Virtual Devices</a>.
|
Create and Manage Virtual Devices</a>.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@@ -132,6 +132,9 @@ page.image=images/cards/card-n-sdk_2x.png
|
|||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
android {
|
android {
|
||||||
|
// Allows you to reference product flavors in your
|
||||||
|
// phone module's build.gradle file
|
||||||
|
publishNonDefault true
|
||||||
...
|
...
|
||||||
defaultConfig
|
defaultConfig
|
||||||
{
|
{
|
||||||
@@ -148,6 +151,7 @@ android {
|
|||||||
minSdkVersion 24
|
minSdkVersion 24
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
@@ -158,7 +162,7 @@ android {
|
|||||||
<pre>
|
<pre>
|
||||||
dependencies {
|
dependencies {
|
||||||
...
|
...
|
||||||
wearApp project(path: ':wearable', configuration: 'wear1Release')
|
wearApp project(path: ':wear', configuration: 'wear1Release')
|
||||||
}
|
}
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user