Android Studio 4.2 Canary 10 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.
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 issues:
Android Gradle Plugin- Issue #166582569: AGP compiles against Kotlin 1.4 and runs against 1.3.72
- Issue #166468915: Can't sync with AGP 4.2.0-alpha08 and Kotlin build scripts
- Issue #37077964: Data binding doesn't handle accented characters in ids
- Issue #166291465: Test results panel in Android Studio 4.2 marks tests with failed assumptions as failed
Additionally the issues below were addressed in this release but may not be necessarily fixed:
Android Gradle Plugin- Issue #37797956: Switch to new models (v2).
- Issue #166240410: Switching variants with composite build (includeBuild) is broken
- Issue #167014937: Hang when window loses focus [Android Studio 4.2 canary 8]
- Issue #163364829: Bug: stable, beta and canary can't open Google's own sample project