Android Studio 4.2 Canary 7 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
Android Gradle Plugin- Issue #161774530: LintChecks configuration resolved in non-lenient way
- Issue #161405989: Projects using ivy repositories cannot sync
- Issue #160714171: ProductFlavor collections/maps are now immutable in AGP 4.1.0
- Issue #156837289: Data Binding errors are lost with kapt
- Issue #160192216: Bug: still can't build&run a new project on Android Studio
- Issue #152328198: Cannot upgrade Kotlin plugin via UI in Android Studio
Additionally the issue below was addressed in this release but may not necessarily be fixed:
Import/Sync- Issue #158846149: Gradle OOM when syncing with AGP 4.1.0-beta01