Tuesday, January 21, 2020

Android Studio 4.0 Canary 9 available


Android Studio 4.0 Canary 9 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.

General fixes

This update includes fixes for the following public issues:

Core IDE Editing
  • Issue #147039508: Bug: IDE suggests to use specific version of Libphonenumber, but doesn't actually do anything when I choose it
  • Issue #140154274: Bug: false positive warning about using too new class in an already checked condition
Gradle
  • Issue #147207696: Unresolved reference: buildFeatures after updating to 4.0.0-alpha07 from 4.0.0-alpha06
Lint
  • Issue #147293853: NPE in KeyedExtensionCollector
  • Issue #122928037: DiffUtilEquals false positive when using interfaces with a single data class implementation
  • Issue #123822220: Cyclic dependency for android:src and app:srcCompat in layer-list xml file
  • Issue #146824833: lint-27.0.0-alpha6 Warning.compareTo() method is wrong!
  • Issue #147094776: Android Lint: Check if Layout XML uses View Tag that does not correspond to a Class extending View in the classpath
  • Issue #37065470: Lint fails to check multiple values passed to *Res-annotated annotation array.
  • Issue #37078822: UnusedResources ignore in lint.xml doesn't work when using path and **
SDK Console Strings Editor
  • Issue #120747416: Refactor->Remove Unused Resources missing logic for strings with dot in the id

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.