Android Studio is the official IDE for Android development, and includes everything you need to build Android apps.
This page lists new features and improvements in the latest version in the stable channel, Android Studio Chipmunk. You can download it here or update to it inside Android Studio by clicking Help > Check for updates (Android Studio > Check for updates on macOS)
To view the release notes for older versions of Android Studio, see Past releases.
For early access to upcoming features and improvements, see the Preview builds of Android Studio.
Support for creating your app with Jetpack Compose
Animation Preview supports animatedVisibility
Android Studio Chipmunk supports the
API in Animation Preview. To use Animation preview with
use Compose version 1.1.0 or higher. To learn more about Animation Preview, see Animations.
Support for deploying preview from Library Modules
Previews allow you to view your UI within Android Studio without having to run
your app on a physical device. In Android Studio Chipmunk, you can deploy a
@Preview to an emulator or physical device from
Library Modules. To learn more, see Deploy Preview.
Support for profiling your app
Detect jank on Android 12 and higher
For devices using Android 12 or higher, a captured trace is shown in the Janky frames track under the Display pane in the CPU Profiler.
To detect jank,
- From the development emulator or device, start the app.
In Android Studio, select View > Tool Windows > Profiler or click Profile in the toolbar.
If prompted by the Select Deployment Target dialog, choose the device to which to deploy your app for profiling. If you've connected a device over USB but don't see it listed, ensure that you have enabled USB debugging.
Click anywhere in the CPU timeline to open the CPU Profiler.
You should see the Janky frames track under Display. By default, the Profiler only shows janky frames as candidates for investigation. Within each janky frame, the red portion highlights the duration the frame takes past its rendering deadline.
Once you find a janky frame, click on it; optionally, you can press M to adjust the zoom to focus on the selected frame. The relevant events will be highlighted in the main threads: RenderThread and GPU completion.
You can optionally see all frames or a breakdown of the rendering time by toggling the checkboxes All Frames and Lifecycle, respectively.
For more information, see UI jank detection.
Android Gradle plugin and Android Studio compatibility
The Android Studio build system is based on Gradle, and the Android Gradle plugin adds several features that are specific to building Android apps. The following table lists which version of the Android Gradle plugin is required for each version of Android Studio.
|Android Studio version||Required plugin version|
|Arctic Fox | 2020.3.1||3.1-7.0|
|Bumblebee | 2021.1.1||3.2-7.1|
|Chipmunk | 2021.2.1||3.2-7.2|
For information on what’s new in the Android Gradle plugin, see the Android Gradle plugin release notes.
The following is list of patch releases in Android Studio Chipmunk.Android Studio Chipmunk | 2021.2.1 Patch 1 (May 2022)
This minor update includes the following bug fixes:
- Dexer (D8)
- Shrinker (R8)