Android Studio 4.2 Canary 5 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 #160155450: BuildConfig not correctly honoring contract around quotations in String[]
- Issue #158747359: ./gradlew connectedCheck fails with "com.android.ddmlib.InstallException: Unknown failure: Error: Unknown option: -g"
- Issue #160330055: GradleAnalyticsEnvironment leaks ProviderFactory
- Issue #157781501: Android gradle plugin fails to generate test coverage report with Gradle 6.4.1
- Issue #159871229: Debug build causes duplicate definitions for desugared library classes
- Issue #146163513: Configuration caching - connectedAndroidTest task state cannot be serialized
- Issue #112699321: Support APK Signature Scheme v3
- Issue #159685888: Merge java resource error message is not very useful
- Issue #159434426: applicationIdSuffix cannot be empty
- Issue #159411906: externalNativeBuildClean runs preBuild also when using AGP 4.0.0
- Issue #159993801: Double click on a NULL cell replaces NULL with empty string
- Issue #156772381: Bug: IDE tells me to update a file that doesn't exist, and in illogical place, of gradle version
- Issue #159160314: Veracode scan raises couple of flaws.
- Issue #157781491: Lint using incorrect SDK version
- Issue #159364425: Can't create activity or fragment after updating Android Studio to 4.0
- Issue #159832672: Bug: creating a new project with the wizard, it doesn't use the label for the toolbar title
- Issue #155650225: Show duration of a test in test results
- Issue #159948398: View Binding classes are not resolved in Studio 4.0+ when two modules share the same layout name+app ID