Monday, March 9, 2020

Android Studio 4.1 Canary 2 available


Android Studio 4.1 Canary 2 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.

Fix for Git version control errors in the IDE

Operations requiring authentication in Git version control were broken in the IDE for Android Studio 4.1 Canary 1. This issue is fixed in Android Studio 4.1 Canary 2.

Patches not working in 4.1 Canary 2

Patches for Android Studio 4.1 Canary 2 are currently broken. To update to a newer version of Android Studio 4.1, shut down Android Studio, then download and install the latest package.

This issue will be fixed in an upcoming release.


General fixes

This update includes fixes for the following public issues:

Android Gradle Plugin
  • Issue #149193056: Suppress warning about :buildSrc:configurePrecompiledScriptDependenciesResolver being non-incremental
  • Issue #149883012: com.android.zipflinger.Zip is too generic of a name
  • Issue #148974861: [Android Library Publishing] Do not publish VariantAttr attribute for *all* component
Apply Changes
  • Issue #144236330: "Apply Changes and Restart Activity" and "Rerun Tests" commands use the same keyboard shortcut
Data Binding IntelliJ Lint Inspections
  • Issue #149753966: "Unguarded field access" inspection does nor work for androidx.annotation.GuardedBy
  • Issue #149342692: Navigation resource is not being found by Lint
Prefab Integration
  • Issue #149575364: IllegalStateException from Run button in AS when using native dependencies with android.enableParallelJsonGen=true
Run Test 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.