From 40895834faa0fd4dcbcad2bcb29769828709d140 Mon Sep 17 00:00:00 2001 From: Robert Ly Date: Sun, 22 Jun 2014 22:07:51 -0700 Subject: docs: l-preview fixes Change-Id: Ib51775739304118df10051f312de35dcca9bf179 --- docs/html/preview/index.html | 2 +- docs/html/preview/preview_toc.cs | 6 +-- docs/html/preview/setup-devices.jd | 90 ------------------------------------- docs/html/preview/setup-sdk.jd | 91 +++++++++++++++++++++++++++++++++++++- docs/html/preview/support.jd | 8 +++- 5 files changed, 99 insertions(+), 98 deletions(-) delete mode 100644 docs/html/preview/setup-devices.jd (limited to 'docs/html') diff --git a/docs/html/preview/index.html b/docs/html/preview/index.html index be2d360..ff4572b 100644 --- a/docs/html/preview/index.html +++ b/docs/html/preview/index.html @@ -257,7 +257,7 @@ href="//fonts.googleapis.com/css?family=Roboto+Condensed"> Join the community of Android developers testing out the L Developer Preview and share your thoughts and experiences.

- + Discuss on Google+

diff --git a/docs/html/preview/preview_toc.cs b/docs/html/preview/preview_toc.cs index ecbd0ec..75703a8 100644 --- a/docs/html/preview/preview_toc.cs +++ b/docs/html/preview/preview_toc.cs @@ -2,11 +2,7 @@ - -

Set up your environment

+

Set Up Hardware and AVDs

+ +

The Android L developer preview provides you with 32-bit system images +to flash the following devices: +

+ + + +

In addition, you also get the emulator system images, which includes +experimental 64-bit system images along with standard 32-bit system images. +

+ +

Instal the L Preview System Image

+ + +

Warning: This is a preview version of the Android +system image, and is subject to change. Your use of this system image is +governed by the Android SDK Preview License Agreement. The Android preview +system image is not a stable release, and may contain errors and defects that +can result in damage to your computer systems, devices, and data. The preview +Android system image is not subject to the same testing as the factory OS and +can cause your phone and installed services and applications to stop working. +

+ + +
    +
  1. Download and extract the Android Developer Preview package to a directory + (which we'll call <l_download_dir> in these + instructions).
  2. +
  3. Connect your powered-off Android device to your development machine. Put + the device in fastboot mode by pressing and holding the following buttons: +
      +
    • Nexus 5: volume down + volume up + + power
    • +
    • Nexus 7: volume down + power
    • +
    +

    Alternatively, you can enter fastboot mode by booting up + the device and running adb reboot bootloader with USB debugging + turned on.

    +
  4. +
  5. Follow the instructions at + developers.google.com/android + to set up your system for flashing devices.
  6. +
  7. Run the <l_download_dir>/flash-all script + corresponding to your platform. This script flashes all of the system data + onto the phone.
  8. +
  9. (Optional) After flashing is complete, lock your device's bootloader by + putting it in fastboot mode and running fastboot oem lock. + (This does not wipe your device.) Once you do this, you will not be able to + flash your device until you run run fastboot oem unlock, + which unlocks the bootloader and wipes your device. We recommend you leave the + bootloader unlocked until you are done with flashing the device.
  10. +
+ +

Revert a Device to Factory Specifications

+ +

If you want to uninstall the L Preview and revert the device to factory +specifications, go to developers.google.com/android and download the image you want +to flash to for your device. Follow the instructions on that page to flash the +image to your device.

+ + +

Set up an AVD

+ +

You can set up Android Virtual Devices +(AVD) and use the emulator to build and test apps with the L Preview.

+ +

To create an AVD with the AVD Manager:

+ +
    +
  1. Install the L Preview SDK in your development environment, as described + in Setting Up the Preview + SDK.
  2. +
  3. Follow the steps in + Managing AVDs with AVD + Manager. Use the following settings: +
      +
    • Device: Either Nexus 5 or Nexus 7
    • +
    • Target: + Android L (Preview) - API Level L
    • +
    + +
  4. +
+ +

Create a Project

  1. Create a new Android project with the following properties: diff --git a/docs/html/preview/support.jd b/docs/html/preview/support.jd index 15c0a99..9ab25dd 100644 --- a/docs/html/preview/support.jd +++ b/docs/html/preview/support.jd @@ -3,7 +3,13 @@ page.title=Support @jd:body

    If you've encountered bugs or have feedback about the L Developer Preview, -create an issue on our bug tracker.

    +create an issue on +our issue tracker.

    + +

    For more support, +join +the L Developer Preview Google+ community to discuss your development experiences. +

    Release Notes

    June 25, 2014 - Initial Release of the L Developer Preview

    -- cgit v1.1