Wednesday, March 18, 2020

Android Studio 4.1 Canary 3 available


Android Studio 4.1 Canary 3 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:

Android Gradle Plugin
  • Issue #150500779: test code is not able to access internal methods from the library it is testing
  • Issue #151040815: BuildTypeAttr.ATTRIBUTE and VariantAttr.ATTRIBUTE in Android Gradle plugin 4.0.0-beta01 are not ABI-compatible with 3.6 of the plugin
  • Issue #150438232: Caching seems to be broken for CheckMultiApkLibrariesTask
  • Issue #150817339: MergeJavaResourcesDelegateTest.testMergeResources fails locally
  • Issue #113978810: Bundled proguard-android.txt should not obfuscate descriptor classes for native methods
  • Issue #142890134: AGP 3.6.0-beta01: relocatability problem with syncDebugLibJars
C++ Debugger Data Binding
  • Issue #150989409: False inspection: The expression "..." cannot be inverted, so it cannot be used in a two-way binding
  • Issue #144300600: error: cannot generate view binders java.lang.IllegalArgumentException: Parameter specified as non-null is null: method android.databinding.tool.reflection.RecursiveResolutionStack.visit, parameter referenceObject
Import/Sync Layout Editor
  • Issue #150367191: Re-enable TypeResolverSdkTest.testMaterialViewAttributeTypes
Lint Lint Inspections
  • Issue #125138962: Bug: removed-unused-resources can show items that are actually used
Testing
  • Issue #144788300: "Test framework quit unexpectedly" after running Espresso tests in Studio 3.6
View Binding
  • Issue #150405777: Add modification tracker for view binding enabled / disabled
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.