Skip to content

Most visited

Recently visited

navigation

Program Overview

Welcome to the Android O Developer Preview, a program that gives you everything you need to make your apps compatible and build for the next version of Android. It's free, and you can get started right away just by downloading the Preview tools.

Hardware and emulator system images

Run and test your apps on Nexus 5X, 6P, Player, Pixel C, Pixel, and Pixel XL, as well as the emulator.

Latest platform code

We’ll provide multiple updates during the Preview, so you’ll be testing against the latest platform changes.

New behaviors and capabilities

Start work early to support new platform behaviors such as the new runtime permissions model and power-saving features.

Feedback and support

Report issues and give us feedback using our issue tracker. Connect with other developers in the Developer Community.

Timeline and updates

The O Developer Preview runs from 21 March 2017 until the final Android O public release to AOSP and OEMs, planned for Q3 2017.

At key development milestones, we’ll deliver updates for your development and testing environment. Each includes SDK tools, preview system images, emulators, API reference, and API diffs. The milestones are listed below.

For developers, the focus during the early part of the preview is on making sure your current app is compatible with the new platform, and providing early feedback. In the later part of the preview — but ongoing throughout and beyond the preview — is your work to adopt features in your app and target the new platform.

Please see the migration guide for easy steps to make your app compatible with the new platform, then target the new platform when you're ready.

The first two preview milestones provide an early test and development environment that help you identify compatibility issues in your current apps and plan migration or feature work needed to target the new platform. This is the priority period in which to give us your feedback on features and APIs and file compatibility issues — for all of these, please use the issue tracker. You can expect some API changes across these updates.

At previews 3 and 4 you’ll have access to the final O APIs and SDK to develop with, as well as near-final system images to test system behaviors and features. Android O will provide a standard API level at this time. You can begin final compatibility testing of your legacy apps and refine any new code that is using the O APIs or features.

Also starting in preview 3, you’ll be able to publish apps to devices running Android O at the official API level, such as consumer devices that have opted into the Android Beta program. You can publish into the Google Play alpha and beta channels first, so you can test your apps with Android Beta consumers before distributing broadly on the store.

As you test and develop on Android O, we strongly recommend keeping your development environment up-to-date as preview updates are released.

We’ll notify you when preview updates are available via the Android Developers Blog, as well as this site and the Android O Developer Community.

What's in the O Developer Preview?

The O Developer Preview includes everything you need to test your existing apps on a variety of screen sizes, network technologies, CPU/GPU chipsets, and hardware architectures.

SDK tools

To access the preview, you must first update to the latest version of Android Studio.

Android Studio allows you to download these components through the SDK Manager:

We’ll provide updates to these development tools at each milestone as needed.

For complete SDK setup instructions, see the Android O migration guide.

Hardware system images

The O Developer Preview includes hardware system images that you can use when testing and developing on physical devices.

You can download a system image for these devices from the Downloads page:

We’ll deliver updated system images for these devices at each milestone. You can download and flash the updated system images to your test devices manually, as frequently as you need. This is especially useful for automated testing environments where you might need to reflash your device multiple times.

OTA Updates through Android Beta Program

You can get seamless over-the-air updates for any supported device through the Android Beta Program. No flashing is needed.

Documentation and sample code

These documentation resources are available on the Developer Preview site to help you learn about Android O:

API Reference and diff report

The full preview API reference is available online. New APIs are watermarked for visibility and show "Android O Developer Preview". Note that you can only use these APIs if you are building with the O Preview SDK.

To get a detailed view of new, modified, and removed APIs in each preview release, start with the full and incremental API diff reports, which then links you to the related API reference documentation.

Support resources

As you test and develop on the O Developer Preview, please use these channels to report issues and give feedback.

Targeting, preview APIs, and publishing

The O Developer Preview provides a development-only system and Android library that does not have a standard API level. If you want to target the new platform and build with the new Android O APIs, you target the preview version of Android O by setting your app's targetSdkVersion, minSdkVersion, and gradle compileSdkVersion to to “O”. For details, see how to update your build configuration for Android O.

The Android O Developer Preview delivers preview APIs — the APIs will not be official until the final SDK is released, currently planned for the third quarter of 2017. This means that you can expect API changes over time, especially during initial weeks of the program. We’ll provide a summary of changes to you with each update of the Android O Developer Preview.

Note: Although preview APIs may change, underlying system behaviors are stable and ready for testing against right away.

Google Play prevents publishing of apps targeting the O Developer Preview. When the Android O final SDK is available, you’ll be able to target the official Android O API level and publish your app to Google Play via the alpha, beta, and production release channels. Meanwhile, if you want to distribute an app targeting Android O to testers, you can do so via email or by direct download from your site at any time.

How to get started

To get started with Android O, download a system image and install it on a supported device, then read the migration guide for an outline of steps for both compatibility testing and building for O.

Thank you for your participation in the Android O Developer Preview program!

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a one-minute survey?
Help us improve Android tools and documentation.