You can get Android 12 in any of these ways:
- Get Android 12 on a Google Pixel device
- Set up an Android emulator
- Get a generic system image (GSI)
- Get Android 12 for Android TV
Get Android 12 on a Google Pixel device
Flash or manually install a system image
The recommended way to flash Android 12 to a Pixel device is to use the Android Flash Tool.
If you'd rather flash your device manually, you can get an Android 12 system image for your device on the Pixel downloads page. See the general instructions on the downloads page for how to flash a system image to your device. This approach can be useful when you need more control over testing, such as for automated testing or regression testing.
Set up an Android emulator
Configuring an Android emulator to run Android 12 is a great solution for exploring new features and APIs and testing Android 12 behavior changes. Setting up an emulator is fast and convenient and allows you to emulate various screen sites and device characteristics.
You can set up an emulator from inside Android Studio by doing the following:
- Install the latest Preview build of Android Studio.
- In Android Studio, click Tools > SDK Manager.
- In the SDK Tools tab, select the latest version of Android Emulator, and click OK. This action installs the latest version if it isn't already installed.
In Android Studio, click Tools > AVD Manager, and follow the instructions to create a new Android Virtual Device (AVD).
Be sure to select a Pixel 3, 3a, 4, 4a, or 5 device definition and a 64-bit Android 12 emulator system image. Note that 32-bit Android emulator system images are not supported in Android 12. If you don't already have an Android 12 system image installed that matches your device definition, click Download next to the Release Name to get it.
Return to the list of virtual devices in the AVD Manager, and then double-click your Android 12 virtual device to launch it.
Get a generic system image (GSI)
Android Generic System Image (GSI) binaries are available to developers for app testing and validation purposes on supported Treble-compliant devices. You can use these images to address any compatibility issues with Android 12 as well as discover and report OS and framework issues.
See the GSI documentation for device requirements, flashing instructions, and information on choosing the right image type for your device. Once you're ready to download a GSI binary, see the Downloads section on the Android 12 GSI page.
Get Android 12 for Android TV
Android 12 for Android TV is provided through system images for the ADT-3 Developer Kit.
See Android 12 Beta for TV to get started.
To learn about which changes might affect you, and to learn how to test these changes in your app, read the following topics:
To learn more about new APIs and features available in Android 12, read Android 12 features.