Welcome! Android 10 has many new APIs for building new experiences, as well as updated system behaviors that can affect your app when it's running on Android 10 devices.
- Ensure basic compatibility. As soon as possible, make sure your existing published app is ready for users who are updating or purchasing new devices running Android 10. Test your app to verify that it's fully functional, then publish the compatible version of the app to users.
- Build with Android 10 features and APIs.
Next, explore the new features and APIs in Android 10.
Set up your development environment, change your app's
targetSdkVersion, and build with the new APIs that are relevant for your app.
The sections below highlight what you'll need to do in each of these phases. Before you get started, make sure you've prepared a hardware device or emulator) to run and test your app.
Phase 1: Basic compatibility
The goal of this phase is to identify any functionality regressions or other
impacts when your app is running on Android 10, then address them and publish
an updated version to users. In many cases you should not need to change your
targetSdkVersion or use new APIs, although you can optionally change
compileSdkVersion to support compatibility.
It’s important to test the functionality of your existing app through all flows, because some platform changes can affect the way your app behaves. When you publish the compatible version of your app, we recommend notifying users of Android 10 support in your update notes.
To give your users a smooth transition to Android 10, we recommend publishing a compatible version of your app as early as possible — ideally before devices begin receiving Android 10 updates.
Make sure to familiarize yourself with the known behavior changes that can
affect your app.
These behavior changes will apply to
your app, even if you haven't changed your
targetSdkVersion. Reviewing the
changes in advance will help you to
identify possible impact areas and debug any issues more quickly.
Android 10 includes extensive changes for privacy, so make sure you also review the key privacy changes and understand the possible impacts on your app.
Phase 2: Build with Android 10
Whenever you are ready, you can explore the new features and APIs in Android 10
and enhance your app with new experiences. To start developing with the new
APIs, you'll need to set up the Android 10 (API 29) SDK in Android Studio
and change both your
When you change your
targetSdkVersion, you'll also need to account for
system behavior changes that apply
to your app when you are targeting Android 10 (API 29) or higher.
changes might cause regressions or crashes, so make sure to review the changes
and test thoroughly before publishing an app update that changes your
Get the SDK
With the above preparations complete, you can build your app and then test it further to make sure it works properly when targeting Android 10. This is another good time to review the core app quality guidelines and best practices for testing.
When you build your app with the
targetSdkVersion set to
are specific platform changes you should be aware of. Some of these changes,
which are described on the
Android 10 behavior changes page, can
significantly affect your app's behavior or cause crashes — even
if you do not yet use new APIs.