Tuesday, January 17, 2023

Android Studio Giraffe Canary 1 now available

Android Studio - Giraffe | 2022.3.1 Canary 1 is now available in the Canary channel.

If you already have an Android Studio build on the Canary channel, you can get the update by clicking Help > Check for Update (or 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 Giraffe, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

The following is list of general fixes in Android Studio Giraffe Canary 1. These are a result of your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. You can also vote for an existing issue to indicate that it also affects you.

Fixed Issues
Android Gradle Plugin
`com.android.build.gradle.tasks.ShaderCompile` issues with configuration cache
Adding to Java resources using AGP APIs breaks configuration cache
Build Analyzer
NPE in TasksTreeStructure.updateStructure (Build Analyzer)
Compose Editing
Autocomplete is unclear and adds redundant trailing lambda
Deployment
com.intellij.diagnostic.PluginException: 345 ms to call on EDT DeviceAndSnapshotComboBoxAction#update@NavBarToolbar
Emulator
Privacy warning has to be shown when user enables device mirroring in Settings
Gradle
I can't set gradle JDK to simply point at JAVA_HOME like I can in IntelliJ IDEA.
Import/Sync
JDK missing from the IDE
useLibrary is ignored by the IDE // Android "Car" library resolution fails (red in IDE): OK in ArticFox/Bumblebee, failing in Chipmunk
Lint
Lint only checks safe casts for directly implemented interfaces, not inherited ones
Lint doesn't check valid casts for call receivers
TypedArray#close (API 31) not desugared but AS does not display warning when used in try-with-resources
Bug: false positive warning of "The 'BC' provider is deprecated and as of Android P..."
Logcat
Request: remove max duration of screen recording of 3 minutes
SDK Manager
NDK fails to install due to checksum error