Tuesday, February 23, 2021

Android Studio 4.2 Beta 5 available


Android Studio 4.2 Beta 5 is now available in the Beta channel.

If you have Android Studio set up to receive updates on the Beta channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio 4.2, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

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 #172112073: Location Permission granted by default with AGP 4.1.0 when using installRelease or installDebug tasks
  • Issue #178015739: Cannot collect coverage data with Jacoco on regular unit test in an Android library
  • Issue #161727311: Android Studio 4.1 ignores resValue and buildConfigField
APK Debugging
  • Issue #166750879: [Studio 4.2 Canary 9] Java Debugger crashes for API 29 and above
  • Issue #169230027: Cannot reopen lib.so after closing project
  • Issue #177976547: [NDK 21.4.7075529][AS 4.2 Beta 3] AssertionError when clicked on add debug symbols
ddmlib Lint
  • Issue #178805864: Filename sorting is not transitive with D8 desugared class names
Shrinker (R8)