Wednesday, November 20, 2019

Android Studio 4.0 Canary 4 available


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 Editing
  • 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
Gradle Installer Lint
  • Issue #142533357: Duplicate string doesn't work with CDATA
  • Issue #142089724: False Positive [UnusedQuantity] on languages with plurals that are not "one" or "other"
New Project Wizard
  • Issue #141545423: Dynamic feature module referring :nested:app cannot be created
Project System Testing
  • Issue #139793893: Running unit test from the IDE fails due to classpath misconfiguration
View Binding
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.