Android Studio 4.1 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.
Improvements from IntelliJ IDEA 2020.1
The core Android Studio IDE is based on IntelliJ IDEA. In this release, we have begun incorporating improvements from IntelliJ 2020.1, which we will continue in upcoming canary releases. This is a work in progress, and we welcome any feedback.IDE configuration directory changes
In this release, the locations for user configuration directories have been changed, consistent with recent updates to IntelliJ IDEA, the IDE on which Android Studio is based.
For more information, please see the release notes.
Missing Kotlin plugin
In Canary 9, you may see the following error when first launching Android Studio after upgrading:
missing essential plugin org.jetbrains.android
This can happen when you import your settings from a previous version of Android Studio. Typically, this means you have a locally installed Kotlin plugin that is not compatible with the new IDE.
For a workaround, please see the release notes.
General Fixes
Build Variants- Issue #153476414: Exception thrown when trying to run/configure a release build
- Issue #153711619: AGP 3.6.2: Incremental compilation failure in DataBinding
- Issue #153513464: LiveData Custom Binding
- Issue #153684332: Database inspector improvements
- Issue #154871161: App crash when trying to use Database Inspector
- Issue #154969128: Consider restoring A 3.6 behavior of "Stop" button
- Issue #154315491: AGP 4.x build fails with exception in L8DexDesugarLibTask configuration
- Issue #37133950: new Lint check: calling the same super function more than once
- Issue #150942306: Command-line sdkmanager needs better error if root dir can't be found
- Issue #150943631: sdk manager should be smarter about deriving package path
- Issue #150944411: Package A shouldn't overwrite package B if B is incorrectly in A's location
- Issue #150946939: cmdline-tools top-level directory shouldn't be called "tools"
- Issue #62063562: Add --installed option to sdkmanager --list
- Issue #137389944: CLI does not respect TERM=dumb
- Issue #69461360: Usability issue: subcommand and/or quotes around package name for clarity
- Issue #37130052: sdkmanager --package_file=
command isn't whitespace tolerant - Issue #152120283: sdkmanager from cmdlinetools fails with unhelpful exception when --sdk_root supplied
- Issue #37130079: sdkmanager --update doesn't output anything to stdout
- Issue #154298380: Android command-line tools seems to be 6200805 broken on Windows
- Issue #154738763: Android View Binding does not support id's using dot case
- Issue #154747638: Merge tag is causing compilation error
For information on new features and changes in all preview builds of Android Studio 4.1, 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.