The following are new features in Android Studio Chipmunk.
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.
The following are patch releases in Android Studio Chipmunk.
Android Studio Chipmunk | 2021.2.1 Patch 2 (August 2022)
This minor update includes the following update and bug fixes:
Android platform support
With Android Studio Chipmunk Patch 2 and Android Gradle 7.2.2, you can
compile against Android 13 APIs by setting
highest supported minimum Sdk version is 32.
minSdk = 33
is not supported until Android Gradle plugin 7.3.0-beta05.
Android Studio Chipmunk | 2021.2.1 Patch 1 (May 2022)
This minor update includes the following bug fixes: