diff --git a/docs/html/preview/download.jd b/docs/html/preview/download.jd index ac70b3ed74f21..ae8351951e24b 100644 --- a/docs/html/preview/download.jd +++ b/docs/html/preview/download.jd @@ -1,4 +1,4 @@ -page.title=Device Images +page.title=Test on an Android N Device page.image=images/cards/card-download_16-9_2x.png meta.tags="preview", "system image" page.tags="preview", "developer preview" @@ -170,34 +170,41 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).
- The Android N Developer Preview includes device system images to help you - test your app and the new APIs coming in the next release of the platform. - This document describes how to get Android N system images on a device for - testing. -
-- In order to effectively test your apps with Android N, use - an Android N emulator provided with the N Preview SDK or configure a device - with an Android N system image. Android N allows you to update - devices for use in testing the functionality of the Android N APIs and system - behaviors with your apps. You can get Android N on a device by opting a - device into the Android Beta Program or by downloading an Android N system + + + +
To run the Android N Preview so you can test your apps, you can either +install the Android N Preview on one of several supported devices or run it on +the Android Emulator.
+ +Simply installing your app onto Android N this way does not require +any changes to your app source code. If, however, you want to update your +app to use new Android N APIs and Java 8 language features, +then you need to download Android Studio 2.1 (preview) as described in +Set Up to Develop for Android N. + + + +
You can get the Android N Preview on a device by opting into + the Android Beta Program to receive over-the-air updates to your device + or by downloading an Android N Preview system image and installing it on a device.
@@ -211,14 +218,8 @@ This is the Android SDK Preview License Agreement (the “License Agreement”). cause your phone and installed services and applications to stop working. -- You can create emulators containing Android N within the Preview SDK. - For more information about getting the Preview SDK, see - Set Up the SDK. -
- -You can receive preview versions of Android on compatible devices by @@ -236,19 +237,30 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).
Warning: If you enroll a device for receiving a preview version of Android, and then later opt-out of receiving those updates on - the device, all user data on that device is removed. + the device, all user data on that device will be removed.
-- These system images allow you to install a preview version of the platform on - a physical device for testing. By configuring a device with one of these - images, you can install and test your app to see how it performs on the next - version of the platform. The process of installing a system image on a device - removes all data from the device, so you should back up your data - before installing a system image. +
To instead manually flash the system image to your device and control +the updates yourself, you can download the appropriate system image for your +device from the table below.
+ +The process of installing a system image on a device removes all data +from the device, so you should back up your data before installing a +system image.
+ +After you back up your device data and download the system image below that +matches your device, follow the instructions at developers.google.com/android +to flash the image onto your device.
+ ++Note: If you manually install a preview system image on a +device, that device will not receive additional over-the-air updates +(either production or preview). If you want to update a device with a new +preview system image, you must perform another manual installation.
- In order to use a device image for testing, you must install it on a - compatible device. Follow the instructions below to install a system image: -
- -- Note: If you manually install a preview system image on a - device, that device does not automatically receive additional preview - updates. If you want to update a device with a new preview system image, you - must perform another manual installation. -
- - -If you want to uninstall the preview and revert the device to factory @@ -362,6 +351,73 @@ This is the Android SDK Preview License Agreement (the “License Agreement”).
+ + +To use the Android Emulator to run the Android N Preview you need to download +the Android N Preview SDK and create a virtual device for the emulator. +
+ +First, download the Android N Preview SDK as follows (if you +already got it while setting up +Android Studio 2.1, you can skip this part): + +
Now create a virtual device with the Android N system image:
+ +You can now launch the Android Emulator with the Android N Preview AVD.
+ +For more information about creating virtual devices, see Managing Virtual Devices. +
+ + + + + + + + + + + + + + diff --git a/docs/html/preview/preview_toc.cs b/docs/html/preview/preview_toc.cs index 715753298c0fc..b4106872f05c1 100644 --- a/docs/html/preview/preview_toc.cs +++ b/docs/html/preview/preview_toc.cs @@ -23,8 +23,8 @@ Set Up to Develop