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 Preview SDK is available for download through the Android SDK Manager. For more information on downloading and configuring the Preview SDK, see Set Up the Preview SDK.

Developer Documentation

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
Developer Docs
MD5: 1db6fff9c722b0339757e1cdf43663a8
SHA-1: 5a4ae88d644e63824d21b0e18f8e3977a7665157

Hardware System Images

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 backup your data before installing a system image.

Warning: The following Android system images are previews and are subject to change. Your use of these system images is governed by the Android SDK Preview License Agreement. The Android preview system images are not stable releases, and may contain errors and defects that can result in damage to your computer systems, devices, and data. The preview Android system images are not subject to the same testing as the factory OS and can cause your phone and installed services and applications to stop working.

Device Download / Checksums
Nexus 5 (GSM/LTE)
MD5: 2ca9f18bf47a061b339bab52647ceb0d
SHA-1: b1f4bde447eccbf8ce5d9b8b8ba954e3eac8e939
Nexus 6
MD5: 24a2118da340b9afedfbdfc026f6ff81
SHA-1: e10240408859d5188c4aae140e1c539130ba614b
Nexus 9
MD5: 9edabf0a4c61b247f1cbb9dfdc0a899e
SHA-1: 9f30534216f10899a6a75495fc7e92408ea333a7
Nexus Player
MD5: e8d081137a20b66df595ee69523314b5
SHA-1: fb63af98302dd97be8de9313734d389ccdcce250

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:

  1. Download and uncompress one of the system image packages listed here.
  2. Backup any data you want to preserve from the device.
  3. Follow the instructions at 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 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.