Android Studio Koala Feature Drop Closed Issues

Android Studio Koala Feature Drop | 2024.1.2 Patch 1

Released together with:
  • Android Gradle Plugin 8.6.1
Fixed Issues
Dexer (D8)
Dexing task/transform generates non-deterministic classes.dex contents
Gradle
R8 regression from 8.4.2 to 8.5.0
IntelliJ
Cannot close Koala when updating indices (which takes forever)
Shrinker (R8)
R8 8.5.x StackOverflowError in SimpleInliningConstraintAnalysis
Task :xxxx:minifyXXXReleaseWithR8 ERROR: R8: java.util.ConcurrentModificationException
java.lang.NullPointerException: Cannot invoke "com.android.tools.r8.ir.analysis.type.TypeElement.asClassType()"

Android Studio Koala Feature Drop | 2024.1.2 RC 1

Released together with:
  • Android Gradle Plugin 8.6.0-rc01
Fixed Issues
Android Gradle Plugin
AGP 8.5: Many more "mergeDebugResources" tasks are run, slowing down builds
Adding srcs dir via Variant API not working as expected
Dexer (D8)
java.lang.VerifyError: Verifier rejected class com.pax.log.LogUtils: java.lang.StackTraceElement com.pax.log.LogUtils.getCaller(com.pax.log.b, java.lang.StackTraceElement[], int) failed to verify
Import/Sync
Incorrect IDE error for internal access from testFixtures with Kotlin
Layout and Resource Editing
Android Studio Koala Feature Drop 2024.1.2 Beta 1 locks up on startup
Lint
Lint: SetTextI18n complains about assigning an empty string.
Preview
AS Compose Preview doesn't work with generated assets
Shrinker (R8)
R8 (AGP 8.5.0+) fails with error "Unexpected rewriting of item: ... to two distinct items:..."
The dex file generated by R8 shows "Unable to find static main(String[]) in 'Test'" when executed
Different Behavior Between Programs packed by R8 and D8
R8 NullPointer after updating to Kotlin 2.0

Android Studio Koala Feature Drop | 2024.1.2 Beta 2

Released together with:
  • Android Gradle Plugin 8.6.0-beta02
Fixed Issues
Android Gradle Plugin
Lint uses res directory without adding task dependency
Dexer (D8)
Update API database to Android 15 (API level 35)
Import/Sync
Gradle sync fails with plugin that uses variant.sources.manifests.addGeneratedManifestFile
Shrinker (R8)
[r8 8.5]r8 horizontal class merge causes verify error on Android5 when disable api modeling
A Wear OS release built with Gradle Plugin 8.4.0/8.5.0 may cause java.lang.IllegalAccessError
R8 implicitly replaces an empty member clause with a match of ()
[r8 8.5] vertical class merger causing runtime NPE
R8 Processing Error Possibly Due to Right Shift Operator

Android Studio Koala Feature Drop | 2024.1.2 Beta 1

Released together with:
  • Android Gradle Plugin 8.6.0-beta01
Fixed Issues
Layout and Resource Editing
Android Studio Jellyfish no longer renders Doc Comments

Android Studio Koala Feature Drop | 2024.1.2 Canary 8

Released together with:
  • Android Gradle Plugin 8.6.0-alpha08
Fixed Issues
Code Editor
ColumnReferencesTest.testResolvePrimaryIdColumnByDifferentNames() not testing anything
NullabilityUtilsTest.testCanAnnotateTypesWithNullabilityAnnotations() not testing anything
Turn off Code Author Inlay Hints by default
Resources
Errors when adding an empty tag
Running Devices
Support turning display power off on Android 14

Android Studio Koala Feature Drop | 2024.1.2 Canary 7

Released together with:
  • Android Gradle Plugin 8.6.0-alpha07
Fixed Issues
App Quality Insights
Firebase Crashlitycs don't work
Dagger/Hilt Support
Dagger Gutter Icons are not shown for multi module projects after Hedgehog update
Hilt in editor navigation doesn't work between libraries (only modules)
Dependency Management
CredentialDependency warning in lint 8.5.0-alpha08 called out despite credentials-play-services-auth being present
IntelliJ
Koala Canary 3 (2024.1) broke syncing settings across IDEs
Layout and Resource Editing
Selecting from the autocomplete dropdown in Layout Editor fields does not work the first time. Have to do it twice to populate the field.
Lint
Credential Manager Lint warning incorrect on Wear
Logcat
Logcat tag name disappears when searching/filtering
Third Party Plugins
Grazie plugin leading to infinite code analysis

Android Studio Koala Feature Drop | 2024.1.2 Canary 6

Released together with:
  • Android Gradle Plugin 8.6.0-alpha06
Fixed Issues
Android Gradle Plugin
[Koala 2024.1.2 Canary 2] Error running a baseline profile module on a split APK
Clean up / remove ProjectInfo
Update outdated kdoc for `isIncludeAndroidResources` in AGP DSL
Compose Preview
"error loading build artifacts from" when trying to deploy a preview on Koala Canary 4
Compose Preview Screenshot Testing
Wear specific clipping missing for Compose Preview Screenshot Testing
Dependency Management
Bug: IDE doesn't always offer to replace "compile" with "api" or "implementation"
Gradle
Android studio (Iguana) showing project errors when there are not
Import/Sync
Linkify `*.versions.toml` file errors in gradle output
Layout and Resource Editing
Selecting from the autocomplete dropdown in Layout Editor fields does not work the first time. Have to do it twice to populate the field.
Lint
UnknownNullness lint error when using type-use annotations
[library desugar] lint shows false positive warning NewApi warnings with desugaring enabled
Lint Integration
Lint tasks fails with included build
Logcat
Case sensitive search in Logcat is not indicated
Resources
"Remove Unused Resources" does not work when selecting module in the project view

Android Studio Koala Feature Drop | 2024.1.2 Canary 4

Released together with:
  • Android Gradle Plugin 8.6.0-alpha04
Fixed Issues
Compose Editing
Autocomplete for @Composable function with single optional lambda param has duplicates
Layout Inspector
Layout Inspector not showing count of recompositions within children
Running Devices
StudioScreenSharingAgent crashes on certain devices with API 29 due to incorrect JNI call to SurfaceControl.destroyDisplay

Android Studio Koala Feature Drop | 2024.1.2 Canary 3

Released together with:
  • Android Gradle Plugin 8.6.0-alpha03
Fixed Issues
Android Gradle Plugin
Manifest not generated for Variant's androidTest configuration
AGP 8.4 tries to set up Startup Profiles on debug builds
Build Output
"source/target 6/7 support removed in JDK 21" error does not provide any quickfixes
Compose Editing
Applying the new Kotlin Compose Compiler Plugin crashes the K2 IDE Plugin and blocks the Analyzing phase
Import/Sync
[Koala Canary 8] UI freezes for 5-8s during gradle sync
Layout and Resource Editing
Scrolling with mouse in layout designer makes layout jump up and down if layout has a ScrollView in it
Lint
Lint does not call visitAnnotationUsage for usages of annotated annotations
Live Edit
Studio Iguana: Android Test Orchestrator breaks Live Edit with error: "min-api detection failure: Too many minAPI"
Navigation Editor
Bug: switching orientation on navigation graph preview has weird stretching effect
Translations Editor
Bug: in translation tool, can't use arrow keys to move to translations, and scrolling doesn't affect them either
Translations Editor: Handling of cut/paste in table
UI Tools
Vector asset import of US flag fails

Android Studio Koala Feature Drop | 2024.1.2 Canary 2

Released together with:
  • Android Gradle Plugin 8.6.0-alpha02
Fixed Issues
Compose Editing
Compose's "Enable enhanced auto-completion" produces noisy code
Gradle Files Editor
Broken quick fix suggestion from spell checker in dependency declaration in kts
Profilers
Reduce margins in the task oriented UI?
Resources
Android Gradle Plugin generating duplicate fields in Unit Test R file for stylables that use `android:*` attrs.

Android Studio Koala Feature Drop | 2024.1.2 Canary 1

Released together with:
  • Android Gradle Plugin 8.6.0-alpha01
Fixed Issues
Android Gradle Plugin
AGP 7.0.0-alpha10 regression: Failed to apply plugin 'com.android.internal.library' when databinding is enabled
Errors when running lint with and without K2 UAST
Find Usages
"Find usages" finds parent style usages instead of the selected one