Android Studio 4.2 Canary 11 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 #167417473: Back action (Cmd+Option+ <-) no longer navigates back to last caret position
- Issue #165340789: AS Dagger graph navigation doesn't work with Provider and Lazy
- Issue #167583121: AGP 4.2a9: Error in dataBindingGenBaseClassesDebug fails build
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 #158344314: Maintain size and theme selection of design preview rendering
- Issue #160395290: Preview of navigation file not working on Android Studio 4.1 and 4.2
- Issue #166774744: Unable to change JDK location - Android Studio 4.2 alpha08