Wednesday, January 6, 2021

Android Studio 4.2 Beta 3 available


Android Studio 4.2 Beta 3 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


Android Studio
  • Android Studio needs to update the leanback template
Database Inspector
  • If the schema tree only contains Databases with no schema, nothing is rendered
  • AdbCommandRejectedException thrown when device is unplugged while entering offline mode
Core IDE
  • [Android Studio Preview Crash Report][4.1.0.10] java.lang.IllegalStateException at com.android.tools.idea.emulator.EmulatorToolWindowManager.getToolWindow-81716942
Resources
  • UI freeze in ResourceRepositoryManager.computeLibraryResourceMap
Layout Editor
  • Exception report: java.lang.AssertionError at com.android.tools.idea.common.scene.SceneInteraction.commit-0e67c1d5
Embedded Emulator
  • Mouse events contain wrong coordinates for devices with landscape default orientation
New Project Wizard
  • New "Import Gradle or Eclipse project" not displaying main imported module
Project System
  • Remember Passwords functionality is not working while Generating Signed Apk
  • Gradle version quickfixes for older versions results in an incorrect state.
  • 20 second freeze from org.jetbrains.android.exportSignedPackage.ExportSignedPackageWizard.<init>
Testing
  • Test duration is showing incorrect when we choose Instrumentation test result from Test History
Android Studio
  • Issue #174785779: RepositoryLoader.loadFromResFolder: Control-flow exceptions (like ProcessCanceledException) should never be logged
Android Gradle Plugin