Android Studio Ladybug Feature Drop Closed Issues

Android Studio Ladybug Feature Drop | 2024.2.2 RC 2

Released together with:
  • Android Gradle Plugin 8.8.0-rc02
Fixed Issues
Gradle
It get a error when build project after upgrade to canary 9

Android Studio Ladybug Feature Drop | 2024.2.2 RC 1

Released together with:
  • Android Gradle Plugin 8.8.0-rc01
Fixed Issues
Android Gradle Plugin
com.android.settings plugin doesn't recognize targetSdk
Import/Sync
Ladybug Feature Drop 2024.2.2 Canary 9 freezes when indexing
Jetpack Compose
"produceState calls should assign value inside the producer lambda: lint check does not grok "if" expression assignment
Lint
False positive lint check android.permission.SCHEDULE_EXACT_ALARM is only granted to system apps
K2 Mode throws RestrictedApi warning when using .hasRoute(Route::class) in Android Studio

Android Studio Ladybug Feature Drop | 2024.2.2 Beta 1

Released together with:
  • Android Gradle Plugin 8.8.0-beta01
Fixed Issues
Deployment
[Ladybug Canary 9] When running project, AS does not rebuild project anymore resulting in "Error loading build artifacts"
Rendering
Android Studio crashes when previewing layout files

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 9

Released together with:
  • Android Gradle Plugin 8.8.0-alpha09
Fixed Issues
APK Viewer
APK analyzer should automatically pick up mapping files in app bundles
Dexer (D8)
Desugar library 2.1.0 does not work with AGP 8.5.2
Import/Sync
"2 files found with path " error not actionable
Isolated projects violation in JetGradlePlugin
Layout and Resource Editing
Doesn't f the "Toggle tools visibility and position" button in the layout editor since android studio version 2024.
Network Inspector
In the Network inspector, the request Body should be scrollable.
Running Devices
Bug: updating to Android 15, Android Studio fails to turn off display when mirroring

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 8

Released together with:
  • Android Gradle Plugin 8.8.0-alpha08
Fixed Issues
Android Gradle Plugin
Apks generated from Bundles does not consider privacy sandbox support
Android Studio
"Lambda can be replaced with method reference" suggested when it is unhelpful to do so due to version restrictions
Compiler & Runtime
ProduceStateDoesNotAssignValue false positive
Editing
Remove usages of deprecated EP: com.intellij.dom.fileDescription
AI Rename suggestion includes current/original name
Gradle
Settings pseudoLocalesEnabled should automatically update resourceConfigurations
Lint
AbstractAnnotationDetector checks wrong overloaded functions/constructors
Lint ImportAliasTestMode doesn't create import aliases for top level functions
WrongConstant lint appearing twice
New ObsoleteSdkInt lint warnings with AGP 8.8

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 7

Released together with:
  • Android Gradle Plugin 8.8.0-alpha07
Fixed Issues
Android Studio
"Lambda can be replaced with method reference" suggested when it is unhelpful to do so due to version restrictions

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 6

Released together with:
  • Android Gradle Plugin 8.8.0-alpha06
Fixed Issues
Android SDK Upgrade Assistant
Links from Android SDK Upgrade Assistant point to internal Google documentation
App Quality Insights
Wrong "more info" link about VCS in AQI info popup
Code Editor
Certain IntelliJ inspections do not see Metalava-injected annotations in the Android SDK
Dagger/Hilt Support
Dagger injected providers missing gutter icon with K2
Layout Inspector
Layout Inspector not showing count of recompositions within children
Lint
AGP 8.7.0 - Lint False Positive RestrictedApi on NavOptionsBuilder.popUpTo
WrongConstant lint appearing twice
"MonochromeLauncherIcon: Monochrome icon is not defined" warning is not caught by Android Studio
Running Tests
java.lang.NoClassDefFoundError when running tests using JUnit
Run configuration for unit tests is not properly updated
Testing Tools
maxConcurrentDevices=1 doesn't prevent multiple emulators from running simultaneously
Upgrade Assistant
Add support in AUA to enable `buildFeatures.resValues` in the DSL in each project using it.

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 5

Released together with:
  • Android Gradle Plugin 8.8.0-alpha05
Fixed Issues
Android Gradle Plugin
Build options: Add new "Build Run configuration" option and make it the default
BuildConfig can not be resolved in unit tests when using android.enableBuildConfigAsBytecode=true
Lint Integration
Linting fails when importing AAR file with implemenation files
Logcat
Odd wraparound in Android Studio Logcat

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 4

Released together with:
  • Android Gradle Plugin 8.8.0-alpha04
Fixed Issues
Android Gradle Plugin
[AGP] Lazy SdkComponents.ndkDirectory provider fails to produce value, but eager android.ndkDirectory API works
APK Viewer
Allow jumping to node from "Find usages" in APK Analyzer
APK Analyzer: UI of method references vs definitions very confusing
Building AOSP
LibFuzzer not available to vendor module in Android
Database Inspector
App Inspection > Database Inspector: Persist IDE choices across app runs
Infrastructure
Upgrade to Gradle 8.10.2
IntelliJ
Cannot open Android studio: Missing essential plugins
Layout and Resource Editing
XML Layout Refactor repeated - setting back to original value ?
Lint
Handle type-use annotations in more cases for UnknownNullness lint
AGP 8.6.1: Regression - WrongConstant lint failure when using [Int].toLong() inside a @LongDef in Kotlin
Multiplatform
AGP-KMP is not propagating returnDefaultValues = true; it doesn't function
StudioBot
Android Studio appends "Ask Gemini" to the title message of every stack trace in Logcat

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 3

Released together with:
  • Android Gradle Plugin 8.8.0-alpha03
Fixed Issues
APK Viewer
Allow jumping to node from "Find usages" in APK Analyzer
APK Analyzer display wrong size in APK's inner APK entry
"show bytecode" action should be more accessible
bytecode viewer is a non-standard dialog
Android Plugin in IDEA prevents IDEA from opening ZIP files
Arctic Fox: resources.arsc often fails to load in APK Analyzer
Connection Assistant
Connection Assistant - Bugged Symbols
Device Manager
Creating device | AS doesn't save the amount of RAM
Editing
AS 2024.1.2 RC 1 hangs frequently
Gradle
Isolated Projects violations in `addGradleAndroidTestListener.gradle`
Layout and Resource Editing
Font Changes to "More Fonts..."
Logcat
Feature Request: logcat should automatically use retrace for R8 obfuscated stack traces
Pixel 3 and 3a unavailable as options in the Frame Screenshot drop-down menu
New Code/Templates
Auto Messaging Template Support Notification Channels
Resource Manager
Resource Picker Search Bar Not Focusing
Resources
Android Resource Directory is hidden
Source sets from submodules not listed while creating a new string
Running Tests
java.lang.NoClassDefFoundError when running tests using JUnit
StudioBot
Enable Gemini AI code completion for C++ and Dart

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 2

Released together with:
  • Android Gradle Plugin 8.8.0-alpha02
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

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 1

Released together with:
  • Android Gradle Plugin 8.8.0-alpha01
Fixed Issues
Android Gradle Plugin
Consider annotate input type for JacocoTransform as a @Classpath
com.android.build.api.variant.GeneratesApk should expose minSdk
com.android.settings plugin doesn't recognize targetSdk
SourceDirectories.addGeneratedSourceDirectory is not friendly to multiple variants
Code Editor
Request: add auto completion helpers for annotation: @RequiresPermission
Dagger/Hilt Support
Dagger injected providers missing gutter icon with K2
Gradle Files Editor
Changes to build.gradle made from diff viewer are not detected
Lint
KtAnalysisSessionProvider incompatibility with lint checks introduced in 8.7.0-alpha04
Lint Integration
Lint variant task is not found after evaluation
Logcat
Logcat scrolling to the end doesn't work
Manifests
Tried using tools:node="merge-only-attributes" but couldn't with no error message
Navigation Editor
Add naveditor to ktfmt presubmit hook
Project Structure
Zero-width buttons in Project Structure
Running Devices
Copy & paste not working in Android Studio (Linux)
StudioBot
(Ask Gemini) shows up in logcat without being a link