Android Studio 4.2 Canary 3 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.
v3 and v4 signing now supported
Android Gradle Plugin 4.2 now supports the v3 and v4 APK signing formats. For more information, see the release notes.
General Fixes
Android Gradle Plugin- Issue #158545411: Non-shrunk desugared library should only be packaged in the app APK
- Issue #143862922: Warn when flatDir repository is used in the build
- Issue #37069473: add hint text for TransformException DuplicateFileException 1.5 plugin
- Issue #140747218: Improve error messages for exceptions thrown from Jetifier
- Issue #157673275: ProcessDataBinding is not working incrementally
- Issue #157901344: jniLibs and CMake IMPORTED targets - impossible to import native libraries!!!!!!
- Issue #156865227: Zooming in on the emulator causes visual flicker
- Issue #156112443: Invalid Gradle JDK configuration found
- Issue #140699627: Lint fail when using StringRes as field of an enum used as SafeArgs argument
- Issue #159169803: RequiredSize check triggers on AndroidManifest.xml files in directories named "layout"
- Issue #130594965: New AdMob Activity crashes when running on device
- Issue #158212024: Classes generated by safeargs plugin are not seen by indexer
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.