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
- Issue #122906050: Unable to debug apk - cannot find default activity
- 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
- Issue #149045341: Very long sync times when consuming a custom configuration
- Issue #150848406: GradleVersions pattern matcher problem
- Issue #150367191: Re-enable TypeResolverSdkTest.testMaterialViewAttributeTypes
- Issue #150506104: Lint failure when upgrading to 3.6.x
- Issue #150530989: Lint crashes on kotlin elvis in 4.1.0-alpha01
- Issue #150292219: Lint runs twice as slow on AGP 4 Beta 1 + False Positive
- Issue #140881211: Android Studio 3.6 canary 10 incorrectly marks butterknife as annotation processor.
- Issue #126439418: @Suppress tag prevents Lint detectors from resolving reference
- Issue #148172219: [AGP 4.0.0-alpha09] False error: X must extend android.view.View
- Issue #125138962: Bug: removed-unused-resources can show items that are actually used
- Issue #144788300: "Test framework quit unexpectedly" after running Espresso tests in Studio 3.6
- Issue #150405777: Add modification tracker for view binding enabled / disabled
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.