Wednesday, December 21, 2022

Android Studio Flamingo Canary 10 now available

Android Studio - Flamingo | 2022.2.1 Canary 10 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 Flamingo, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

Fixed Issues
Android Gradle Plugin
Instrumentation API does not transform local file dependencies
`AnnotationProcessorOptions.arguments are queried` error when updating to 7.4 Beta 1
Move Gradle public plugins to gradle-api and remove BasePlugin.getExtension
r8.jvmArgs don't get used
JDK17 as min version required for AGP
AGP 8.0.0 A8 breaks baseline profiles
Change 'compileSdkVersion' to 'compileSdk' in CheckAarMetadataTask message in AGP 8.0
AGP 7.4.0-rc01 breaks Variant API with "Querying the mapped value of map(provider(java.util.Set)) before task '...' has completed is not supported"
Android Studio
Don't show irrelevant Java preview features popup
APK Viewer
Baseline Profiles rules Too Large
Decode Baseline Profiles for App Bundles
AVD Preview
Vector Asset is unable to load SVG file
Build Analyzer
No "new build warnings available" notification from Build Analyzer
Code Editor
AppLinksAutoVerify doesn't support 301 redirects
Compose Editing
Deprecated compose `Image` import promoted above non-deprecated versions
Deployment
Device mirroring error
Design Tools
Converting SVG to Android Vector Graphics fails for linear gradients because of xref:href elments
Dexer (D8)
Dex merging error related to global synthetics after upgrading AS Canary 6 to 7
Emulator
Random emulator kernel CRASH related to WLAN emulation (mac80211_hwsim)
Tooltip for camera control resize emulator
Fragment
Fragment DialogFragmentCallbacksDetector Lint is broken when I upgrade to lint 30.4.x (AGP 7.4.x)
Import/Sync
JDK missing from the IDE
Adding sources after variants are created breaks sync
Android Support Plugin error messages need rewording
Layout Editor
LinearLayout horizontal and vertical icons can be misleading
Lint
AccessibilityDetector lint check explanation is outdated
Lint SDK_INT checks should understand temporary local variables
Error when TestMode.TYPE_ALIAS replace Function type with typealias
Bug: when ObjectAnimator is created outside of current code block, there are false-positive warnings of not starting it #38
Lint: NPE due to querying Application instance in mergeOnly mode
NonConstantResourceId lint rule cannot detect to assign constant values from resource id
not showing error on view id
Failure to deserialize lint resources cache results in a lint error (but should be a warning)
AGP Flamingo Alpha 8 Lint NewApi Desugar Regression
Lint Integration
Baseline file is currently an Input and an Output of the Lint tasks
Logcat
Add a Right Click Action to Copy Message Text
ProfileInstaller & Baseline Profiles
Expose addMetadata for Hawkeye tests
Resources
Refactoring XML Color (NOT File) Name Denies Use of Uppercase Character as Invalid File Name
Running Tests
Every time I run unit tests with coverage I have to recompile (twice)
Upgrade Assistant
Upgrading to AS Flamingo Canary 9 cause project to fail when Custom BuildConfig fields are used in gradle file.