Android Studio 4.2.2 is now available in the Stable channel.
If you already have an Android Studio build on the Stable channel, you can get the update by clicking Help > Check for Update (Android Studio > Check for Updates on macOS). Otherwise, you can download here.
For information on new features and changes in all releases of Android Studio, see the Android Studio release notes.
We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.
General fixes
This update includes fixes for the following public issues:
Android Gradle Plugin
- Issue #187353303: AGP 4.2.0 produces test APK that is missing a class, perhaps due to mixed java/kotlin source set
- Issue #187420313: buildConfigField replacement warning prints the value, which could contain sensitive information
Lint
- Issue #187851920: Lint crashes in PrivateApiDetector when using lint.do.not.reuse.uast.env
Shrinker (R8)
- Issue #187977749: desugar overrides final method spliterator in PriorityQueue
Tool Windows
- Issue #187415389: Add an indicator with a link when the list of Gradle tasks is not populated