Wednesday, June 10, 2020

Android Studio 4.2 Canary 1 available


Android Studio 4.2 Canary 1 is now available in the Canary and Dev channels.

If you have Android Studio set to receive updates on the Canary or Dev 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.

Jetpack Compose moved from 4.1 to 4.2

Features supporting Jetpack Compose in Android Studio have been moved from 4.1 to 4.2, including new options for previewing your apps' UI. To learn more, see the release notes.

Improved instrumentation testing moved from 4.1 to 4.2

Improvements to instrumentation tests have been moved from 4.1 to 4.2, allowing instrumentation tests to be run across multiple devices in parallel. For more information about this feature, see the release notes.

General Fixes

Android Studio Benchmark Build Analyzer
  • Issue #156912028: Rebuild project' triggers warning for 'clean' not being incremental
Code Editor Gradle
  • Issue #156824496: AGP no longer supports float and various other types of build config fields
Import/Sync Layout Inspector Memory ML Model Binding New Project Wizard
  • Issue #150203801: When there is a compile error, the build output has a wrong encode
Resources Run Search View Binding
  • Issue #151810671: Data Binding / View Binding: Unescaped "&" in a comment causes fields not to be autocompleted

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.