Thursday, September 12, 2024

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2 now available

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2 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 Updates (or Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in Android Studio Ladybug Feature Drop, see the Android Studio Preview release notes. For details of bugs fixed in each previous release of Android Studio Ladybug Feature Drop, see closed issues.

General fixes and features

Below is a list of general fixes in Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2 and Android Gradle Plugin 8.8.0-alpha02. 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
Implement flag to disable AGP minimum version checking
AGP has confusing interactions with configuring kotlin compiler options
AGP should expose a BuiltArtifactLoader for target project apk in com.android.test projects
Code Editor
Issue with expanding R.string.xxx lines
"Enable compose formatting for modifiers" option formats too much
Compose Preview
Accessing Sensor System Service Stops Compose Preview From Rendering
Code using the vibrator crashes the compose preview
Compose Preview broken when using HTML text with b-Tags
Database Inspector
Cannot use database inpsector on Android studio app inspection
Debugger
SyncService incorrectly calculates size of directory
Device Manager
density incorrectly calculated in avd manager
Emulator AVD editor always reverts "Device Type" back to Phone/Tablet when it is an "automotive" device
avdmanager: sdcard size not taken into account
Layout and Resource Editing
Consider removing the Hamcrest dependency in layoutlib APIs
BufferedInputStream cannot be cast to class AssetManager$AssetInputStream
Lint
"False positive" WrongConstant when using PackageManager.ResolveInfoFlags.of with Kotlin
"At least one host must be specified" lint error when setting http or https intent-filter scheme
Logcat
Android Studio's 'Record Screen' option fails to overwrite existing file
ADB scrolling works terribly!
New Project Wizard
Help button for Import Samples dialog
Resource Manager
Resource Manager doesn't show drawables with custom color attributes
Resource Manager crops some vector drawables
Resource Manager not working properly in Android Studio Koala Feature Drop | 2024.1.2
View Binding
Auto-import and autocomplete not working for generated ViewBinding class in K2 Mode