Android Studio 4.0 Canary 4 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.
enableSeparateAnnotationProcessing option removed
The ability to separate the annotation compilation into different processes has been removed. This option was used to maintain incremental Java compilation when using non-incremental annotation processors; it was enabled by setting android.enableSeparateAnnotationProcessing to true in the gradle.properties file, which no longer works.
General fixes
This update includes fixes for the following public issues:Data Binding
- Issue #122928033: Renaming a string does not rename it in the data binding expression
- Issue #142110304: DataBinderMapperImpl.java:120: error: code too large
- Issue #143867708: The maven library registry is missing many recent libraries, such as CameraX
- Issue #143867725: Quickfix for library import should import symbol in source file as well
- Issue #143868567: Library import only works for Kotlin and Java, not XML class references
- Issue #143868566: Missing layout classes are not shown as unresolved in the editor
- Issue #143867090: Unresolved library import isn't offered on package names
- Issue #142543668: AppPublishingTest fails with Gradle 6.0
- Issue #142630205: Update to Gradle 6.0
- Issue #142242084: assembleDebug fails with FileNotFoundException on AS 3.6 Canary 12
- Issue #144249620: Calling registerJavaGeneratingTask with only kotlin sources in a kotlin-only project triggers javac with no sources
- Issue #144042749: Setup Wizard: Emulator Settings: confusing text
- Issue #142533357: Duplicate string doesn't work with CDATA
- Issue #142089724: False Positive [UnusedQuantity] on languages with plurals that are not "one" or "other"
- Issue #141545423: Dynamic feature module referring :nested:app cannot be created
- Issue #130224064: Need KTS parser
- Issue #139793893: Running unit test from the IDE fails due to classpath misconfiguration
- Issue #142597725: Add autocomplete support for tools:ignoreViewBinding
- Issue #139732774: Update light class API to reflect changes for covariant return type
- Issue #144029289: IDE: Don't generate Impl bindings for View Binding classes
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.