diff --git a/docs/html/preview/setup-sdk.jd b/docs/html/preview/setup-sdk.jd index f0def9b4218c1..016967d2a7de0 100644 --- a/docs/html/preview/setup-sdk.jd +++ b/docs/html/preview/setup-sdk.jd @@ -8,6 +8,7 @@ page.image=images/cards/card-set-up_16-9_2x.png

In this document

    +
  1. Get Android Studio 1.3
  2. Get the Preview SDK
  3. Create or Update a Project
  4. Set Up for Testing
  5. @@ -15,26 +16,91 @@ page.image=images/cards/card-set-up_16-9_2x.png
-

The Preview SDK is available from the Android SDK Manager. +

The M Developer Preview SDK is available from the Android SDK Manager. This document assumes that you are familiar with Android app development, such as using the Android SDK Manager and creating projects. If you are new to Android, see Building Your First App training lesson first.

-

Get the Preview SDK

+

Get Android Studio 1.3

-

To add the Android Preview SDK components to your development environment:

+

The Developer Preview requires Android Studio 1.3, which is in +preview status. You need +to install the preview version of Android Studio 1.3 to work with the Preview +SDK.

+ +

Caution: The canary preview of Android +Studio 1.3 is still in active development. If you are using your primary development +machine to test the developer preview, you should create a second installation +of Android Studio to use for testing.

+ +

To install the Android Studio 1.3 preview:

    -
  1. Start the Android SDK Manager.
  2. -
  3. In the Tools section, select the latest Android SDK Tools, - Platform-tools, and Build-tools.
  4. -
  5. Select everything under the Android M Developer Preview section and - click Install packages...
  6. -
  7. Accept the Licensing Agreement for all of the packages and click - Install.
  8. +
  9. Download and launch Android + Studio. +
  10. + +
  11. Open the Settings window by choosing File > + Settings. Choose the Appearance & Behavior > System + Settings > Updates panel.
  12. + +
  13. On the Updates panel, choose the option + Automatically check updates for: Canary Chanel. +
  14. + +
  15. On the Updates panel, select Check Now + to check for the latest canary build. Download and install the build when you + are prompted. +
+

Get the Preview SDK

+ +

To add the Preview SDK components to your development environment:

+ +
    +
  1. Launch the Android Studio 1.3 preview. +
  2. + +
  3. Open the Settings window by choosing File > + Settings. Choose the Appearance & Behavior > System + Settings > Updates panel.
  4. + +
  5. On the Updates panel, choose the options + Automatically check updates for: Canary Chanel and + Automatically check updates for Android SDK: Preview Chanel. +
  6. + +
  7. Click the Android SDK Manager button to launch the SDK + Manager. (With Android Studio 1.3, the SDK Manager is integrated into Android + Studio instead of being a standalone application.) +
  8. + +
  9. Under the Platforms section, select Android MNC + Preview. +
  10. + +
  11. In the Tools section, select the latest Android + SDK Tools, Platform-tools, and + Build-tools. +
  12. + +
  13. Click Install packages and accept the licensing + agreement for all of the packages. +
  14. + +
  15. Verify that the M Developer Preview is installed by opening the + Settings window and choosing the Appearance & Behavior + > System Settings > Android SDK panel.
  16. + +
  17. On the Android SDK panel, choose + the SDK Platforms tab. Android MNC + Preview should be listed as Installed. Also, open the + SDK Tools tab to verify that the latest tools are + installed. +
  18. +

After completing these steps, the preview components are available in your development environment.

@@ -88,7 +154,7 @@ App training lesson first.

Set up a Physical Device

- If you have a Nexus 5, Nexus 6, Nexus 9, or Nexus Player, you can install a preview + If you have a Nexus 5, Nexus 6, Nexus 9, or Android TV, you can install a preview system image on these devices for testing your app. You can set up virtual device with the preview version of the platform from within Android Studio using the Android Virtual Device Manager tool. @@ -109,7 +175,7 @@ App training lesson first.

To create an AVD with the AVD Manager:

    -
  1. Install the M Preview SDK in your development environment, as described +
  2. Install the Preview SDK in your development environment, as described in Setting Up the Preview SDK.
  3. Follow the steps in