Welcome to Android 12 Developer Preview! Please give us feedback early and often, and help us make Android 12 the best release yet!

Release notes

Android 12 Developer Preview 2

DP2.2

Release date: April 7, 2021
Build: SPP2.210219.018
Emulator support: x86 (64-bit), ARM (v8-A)
Security patch level: April 2021
Google Play services: 21.06.13
API diff:

DP2.1

Release date: March 29, 2021
Build: SPP2.210219.008.A1
Emulator support: x86 (64-bit), ARM (v8-A)
Security patch level: March 2021
Google Play services: 21.06.13
API diff:

DP2

Release date: March 17, 2021
Build: SPP2.210219.008
Emulator support: x86 (64-bit), ARM (v8-A)
Security patch level: March 2021
Google Play services: 21.06.13
API diff:

Android 12 Developer Preview 2.2 (April 2021)

If you’re already running a Developer Preview build, you will automatically receive an over-the-air (OTA) update to Developer Preview 2.2.

This minor update to Android 12 Developer Preview 2 includes the following fixes:

  • Fixed an issue that sometimes caused the Settings app to crash when a user tried to access Bluetooth settings. (Issue #180962266)
  • Fixed an issue that caused widgets to be removed from the home screen after a user installed an OTA update.
  • Fixed an issue that caused notifications to be sent about low Bluetooth call quality even when call quality was currently unaffected.
  • Fixed an issue that caused WiFi network passwords to not be saved in some cases.
  • Fixed an issue that caused the notification shade to be activated when typing on the on-screen keyboard.
  • Fixed an issue with Codec 2.0 that could cause apps to crash on some devices.
  • Fixed an issue that could cause videos to be encoded incorrectly when shared.

Android 12 Developer Preview 2.1 (March 2021)

This minor update to Android 12 Developer Preview 2 updates WebView to fix an issue that caused some apps to crash.

About Android 12 Developer Preview 2

Developer Preview 2 is now available, with the latest features and changes to try with your apps. This release is for developers only, to help with early development, testing, and feedback. Android 12 Developer Preview 2 is an early baseline build that’s still in active development, so the Android system and apps running on it might not always work as expected.

As with previous versions, Android 12 includes behavior changes to help improve performance, battery life, security, and privacy. In some cases, these changes can affect apps until they are updated to support Android 12, so you might see impacts ranging from minor issues to more significant limitations. In general, most apps will work as expected, as will most APIs and features, but please review the known issues listed on this page to get a better idea of what to expect.

How to get Developer Preview 2

You can install this release on any Pixel 3, 3a, 4, 4a, or 5 series device.

If you’re already running Developer Preview 1 or 1.1, you will automatically receive an over-the-air (OTA) update to Developer Preview 2. Remember to update your Android 12 SDK and the Android Emulator as well before you continue trying the latest features and changes. The best way to do this is using the SDK Manager in the latest preview version of Android Studio.

If Developer Preview 2 is the first Android 12 release that you're trying, see Get Android 12 for details on how to get started.

General advisories

Please be aware of these general notes about the release:

  • This release might have various stability, battery, or performance issues on supported devices.
  • For users with accessibility needs, this release might not be appropriate for daily use.
  • Some apps might not function as expected when running on this release. This includes Google’s apps as well as other apps.
  • Android 12 Developer Preview builds are not Compatibility Test Suite (CTS) approved, but they have passed preliminary testing and provide a stable set of pre-release APIs for developers. Apps that depend on CTS-approved builds or use SafetyNet APIs might not work normally on Android 12 Developer Preview builds.

Get support

Two primary support channels are available to you when developing and testing with the Android 12 Developer Preview. The channel you should use to get support depends on where you are encountering your issue.

Support for device-specific issues, system issues, and issues with Google apps

Use the Developer Preview Issue Tracker to create new issues and to view and track issues that you and other developers have submitted. Before creating your own issue, check the known issues listed on this page and search the lists of top open issues and recently created issues to see if someone else has already reported it. You can subscribe and vote for an issue by clicking star this issue .

See Where to report issues to find an issue template that best matches the type of issue that you are encountering.

Support for issues with other apps

Contact the app developer directly.

To discuss issues or ideas with other developers working with the Android 12 Developer Preview, join the android_beta community on Reddit.

What's new in Developer Preview 2

Android 12 Developer Preview 2 includes several new features and changes to try out:

Top resolved issues

The following issues have been resolved in Android 12 Developer Preview 2:

Developer-reported issues

  • Fixed an issue that prevented the go back gesture from working in certain cases. (Issue #180932529)
  • Fixed issues that users were having when using contactless payments through Google Pay. (Issue #180725322)
  • Fixed an issue that caused text in the notification drawer to be difficult to read when rendering over the top of some apps. (Issue #180647015)
  • Fixed an issue that caused java.lang.Deprecated to be marked as deprecated. (Issue #180705308)
  • Fixed an issue that prevented apps that were targeting Android 12 from using version 2.7.0-alpha01 of WorkManager. The fix is included in version 2.7.0-alpha02. (Issue #180884673)

Other resolved issues

  • Fixed an issue with WebView that prevented developers from enabling or testing Schemeful Same-Site changes on Android 12.
  • Fixed an issue where upgrading to Android 12 from a production build without wiping data could lose HID controls for previously-paired Bluetooth devices.
  • Fixed an issue where videos that were shared from the Camera app could be sent using the wrong encoding.
  • Fixed an issue that could cause the text for the clock widget on the Home screen to be cut off on some devices.
  • Fixed an issue where empty pages on the Home screen were sometimes not removed.
  • Fixed an issue that could sometimes prevent users from accessing the notification shade.

Top open issues

See top open issues for the latest list of top open issues that have been reported by developers.

Other known issues

Based on our testing, you might encounter the following issues when using Android 12 Developer Preview 2. These issues are already known, so there’s no need to file additional reports for similar issues.

Apps

  • In some scenarios, users of apps that have been granted the Display over other apps permission and render full screen overlays might find touches blocked on Android 12 until the developer updates the app. Affected users can temporarily turn off the permission in Settings, which can always be accessed using the settings icon in the notification shade. If an app you use is affected by this issue, you can contact the app developer directly to let them know.

Android Studio and tools

  • When installing an app that has a targetSdkVersion of "S" from Android Studio, developers might see the following error:

    Installation did not succeed.
    The application could not be installed: INSTALL_FAILED_VERIFICATION_FAILURE
    List of apks:
    [0] '.../build/outputs/apk/debug/app-debug.apk'
    Installation failed due to: 'null'
    

    The likely cause is that one or more of the app's activities, services, or broadcast receivers includes intent-filters, but does not explicitly set a value for android:exported. Android 12 requires setting an explicit value for this attribute on all <activity>, <service>, and <receiver> components that also have an <intent-filter> defined. For more information, see Safer exporting of components. Note: This issue is already solved in the latest canary release of Android Studio Arctic Fox. To get the latest fixes and enhancements when targeting Android 12, we recommend installing a preview version of Android Studio alongside your stable version.

Android Enterprise

  • A device can have a device-wide password and a work profile security challenge. When you tap a work app’s notification on the lock screen, you are first prompted to unlock the device, and then prompted to unlock the work profile. If the work challenge does not prompt you to unlock, swipe away the task from the recent apps or Overview screen, and then open the work app again.
  • A device with a work profile is unable to change the system UI style.

Android Auto

  • When toggling the dark mode on the phone, the night mode on Android Auto might get toggled as well.
  • When running the Android Auto projection, the top status bar that shows time, weather, and system details might not be transparent and might appear as a black bar.
  • The bottom rail on Android Auto might appear as a black bar.
  • When using Android Auto, the phone might sometimes become unresponsive and require a reboot.

Android TV

  • Setup using the Google Home App is not supported on this build.
  • Hotplugging the HDMI cable might cause video playback to fail on some display sinks.
  • Some pages in the TV Settings app contain empty placeholders in this release.