New Android Gradle plugin options for build features

buildFeatures

To learn more, see the release notes.

Known Issues

No patches for Android Studio 4.0 Canary 5 are available for previously released Android Studio 4.0 Canary versions. To install Android Studio 4.0 Canary 5, please download it from the Android Studio downloads page.

In Android Studio 4.0 Canary 5, the Layout Inspector does not function correctly.

General fixes

Issue #37123156: aapt_rules.txt should specific explicitly used constructor instead of argument wildcard.

Issue #139782877: Native builds compile all architectures now instead of just the one needed for the target device

Issue #144668812: Importing SVG file with a style combination creates incorrect vector drawable

Issue #144788290: Changes to data binding layouts are not processed by the IDE

Issue #141936603: Auto-complete for data binding includes classes not known/visible to the current module

Issue #144527914: Unresolved reference for inner class when using an <import alias="..."/>

Issue #123427765: Binding expression not supported VectorDrawableCompat.

Issue #144246528: DataBinding is occurs NullPointerException if there are two LiveData flags when only one of them has initial value

Issue #142405164: DataBinding variable cannot use java.lang.Void in AGP 3.6

Issue #144109935: Android Studio 4 Canary does noting on Run->Run

Issue #144443063: Run button is always disabled after running configuration with another configuration

Issue #144057801: Bug: importing SVG files create incorrect VectorDrawable

Issue #143375935: AS 4.0 Canary 1 - INSTALL_FAILED_NOT_APK

Issue #144553651: Incorrect R8 version parsing for targeted rules

Issue #144916156: W/o external transforms present we should use artifact transforms

Issue #145125886: Integrate jetifier beta08 to AGP

Issue #124231532: Property Panel stays empty after adding a recycler view for the first time

Issue #142491178: Visual bug while using the design view of the navigation graph.

Issue #144443773: Creating a project with an apostrophe in the human readable name makes compilation fail

Issue #143291278: Creating a new Module edits settings.gradle even if settings.gradle.kts is present

Issue #144443057: Select resource (Pick a resource dialog) displays hidden files too (named with prefix .)

Issue #143229099: Activity can't be found by run configuration