The Android M Preview SDK includes development tools, Android system files, and library files to help you test your app and the new APIs coming in the next release of the platform. This document describes how to get the downloadable components of the preview for testing your app.
Developer Preview 2 SDK
The developer documentation download package provides detailed API reference information and an API difference report for the preview.
|Description||Download / Checksums|
|Android M Preview 2
|Device||Download / Checksums|
|Nexus 5 (GSM/LTE)
Install an Image to a Device
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:
- Download and uncompress one of the system image packages listed here.
- Backup any data you want to preserve from the device.
- Follow the instructions at developers.google.com/android to flash the image onto your device.
Updating a Device with the Preview
Once you have installed a preview system image on a development device, the device is upgraded automatically with the next preview release through over-the-air (OTA) updates. When the update is available, the device displays notification that an update is available and allows you to install it. You can also manually install the next preview image by repeating the procedure in the previous section.
Revert a Device to Factory Specifications
If you want to uninstall the 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.