Wednesday, January 27, 2021

Android Studio Arctic Fox Canary 5 available


Android Studio Arctic Fox Canary 5 (2020.3.1.5) 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.
For information on new features and changes in all preview builds of Android Studio Arctic Fox, 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.

C++ editor: Set execution point in debugger

In the C++ code editor window, you can set an arbitrary execution point when running your app in the debugger. This feature is useful when you want to break out of a loop or force a different path with branching code.

To learn more, see the release notes.

General Fixes

This update includes fixes for the following issues:

Android App Bundles
  • Issue #171462060: [AGP 4.1.0] ./gradlew app:installDebugAndroidTest incorrectly tries to fetch APK from App Bundle
Android Gradle Plugin
  • Issue #175337498: AGP 4.1, Gradle 6.7: mergeDebugNativeLibs is not up to date and slows down Gradle builds.
  • Issue #177167009: AGP 7.0.0-alpha04 - Jar missing if there are no custom manifest permissions
  • Issue #37797956: Switch to new models (v2).
  • Issue #160138798: DexFileDependenciesTask should be cacheable
  • Issue #174839536: ConnectedAndroidTest still run even there is no test files with Gradle Plugin 7.0.0-alpha02
  • Issue #176998942: Exception while trying to import/sync project in AS 4.2 b3 with Gradle source dependency. 4.1.1 passes.
  • Issue #174493018: Reduce the number of //tools/base/build-system/integration-test/application bazel test targets
  • Issue #175718909: After upgrad NDK to 22, AGP-externalNativeBuild error
  • Issue #154948828: Configuration resolved early, with included build and configuration on demand
  • Issue #169885381: Make `kotlinCompilerVersion` optional (or remove it altogether)
  • Issue #177004260: Split IdeLibrary into Ide*Library and Ide*Dependency
  • Issue #154984238: Skip MergeNativeLibsTask when there are no native libraries
  • Issue #159238028: apkDirectory is final after upgrading to AGP v4.0
Android Studio
  • Issue #155258590: Compose function calls are not highlighted in the color from the color scheme
C++ Build
  • Issue #173049056: Native build tasks should suppress success messages
  • Issue #163379002: Gradle externalNativeBuild script has problem in recognizing last include statement in Android.mk file
Databinding Gradle Layout Editor
  • Issue #161154345: AttachedToolWindow$UpdatableActionButton buttons aren't visible on side panels in Design mode
Lint
  • Issue #170656529: [AGP 4.1] lint module being evaluated in improper context
  • Issue #175741231: Bug: choosing Lint quick-fix for conversion to WEBP, its dialog gets stuck, hard to even close it
  • Issue #158777858: Lint error: package fragment is not found for module:<lintWithKotlin> is a module[ModuleDescriptorImpl@6dc0aaa0] file:KtFile: Crm.kt
  • Issue #159733104: Lint: NPE in KtLightClassForFacade.getLightClassData
  • Issue #177044619: AGP 4.2 lint.xml ignore regexp does not work as expected
Logcat Profilers
  • Issue #174841028: Opening dmtrace.trace from Device File Explorer always fail (stuck on loading)
Test Upgrade Assistant
  • Issue #175496966: "Configuration with name 'testApi' not found." on AGP 7.0.0-alpha03
  • Issue #174787527: Opening a project with gradle 7.0.0-alpha01 plugin will no upgrade to 7.0.0-alpha02 automatically.
  • Issue #174793640: Arctic Fox Canary 2: Android Gradle Plugin Upgrade Assistant is upgrading kotlin gradle plugin to the wrong value
  • Issue #160258052: AS4.2C3 may not upgrade gradle classpath to 'com.android.tools.build:gradle:4.2.0-alpha03' from 'alpha02'.
  • Issue #153680188: com.android.tools.build:gradle:4.1.0-alpha04' does not upgrade to 'alpha05' gracefully when upgrading AS4.1C4 to AS4.1C5
  • Issue #155109633: com.android.tools.build:gradle:4.1.0-alpha07' does not upgrade to 'alpha08' gracefully when upgrading AS4.1C7 to AS4.1C8
View Binding