Tuesday, August 6, 2024

Android Studio Koala Feature Drop | 2024.1.2 RC 1 now available

Android Studio Koala Feature Drop | 2024.1.2 RC 1 is now available in the Beta channel.

If you already have an Android Studio build on the Beta 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 Koala Feature Drop, see the Android Studio Preview release notes. For details of bugs fixed in each previous release of Android Studio Koala Feature Drop, see closed issues.

General fixes and features

Below is a list of general fixes in Android Studio Koala Feature Drop | 2024.1.2 RC 1 and Android Gradle Plugin 8.6.0-rc01. 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
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