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- Issue #157600808: Incorrect colors in HTML panels
- Issue #154895146: Add kotlinCompilerExtensionVersion to Compose Project template
- Issue #156065464: Benchmark report missing
- Issue #156912028: Rebuild project' triggers warning for 'clean' not being incremental
- Issue #154494808: Missing additional imports for delegates to make by state work confusing
- Issue #156526255: Deadlock with the compose editor support
- Issue #156549971: Compose preview docs only show up after the second exposure
- Issue #156824496: AGP no longer supports float and various other types of build config fields
- Issue #156992679: Quickfix for java 8 desugaring should not update min-sdk
- Issue #156787539: layout inspector doesn't detect running device
- Issue #157140322: Make finding GC roots more obvious
- Issue #157232653: Try/catch in Kotlin example
- Issue #157231325: Model binding library requires minSdkVersion 19
- Issue #150203801: When there is a compile error, the build output has a wrong encode
- Issue #157232598: Unknown attribute for "class" attribute in view tag
- Issue #155359024: Run configuration is not compatible
- Issue #152432842: Navigate to symbol fails to find any symbols
- 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.