Android Studio 4.0 Release Candidate 1 is now available in the Beta channel.
If you have Android Studio set up to receive updates on the Beta 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.
General fixes
This update also includes fixes for the following public issues:Android Gradle Plugin
- Issue #154218507: Desugaring is disabled when dexing library code in shrunk library
- Issue #154145638: Use correct minSdkVersion when fetching desugar_lib_dex from transform
- Issue #153858923: R8 2.0.65 wrongly change classes to abstract
- Issue #154531810: ClassCastException after updating to R8 2.0.59 (Android Gradle plugin 4.0.0-beta04)
- Issue #153514654: VerifyError on dalvik with code catching ErrornoException
- Issue #154315490: "R8: NullPointerException during IR Conversion" with gradle plugin 3.6.2
- Issue #132828740: During evaluation of conditional if rules, dependent items are enqueued for un-met preconditions
For information on new features and changes in all preview builds of Android Studio 4.0, 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.