[go: nahoru, domu]

Release Updates

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 4 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 4 and Android Gradle Plugin 8.8.0-alpha04. 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] 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 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 3 and Android Gradle Plugin 8.8.0-alpha03. 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
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 | 2024.2.1 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 Ladybug, see the Android Studio Preview release notes. For details of bugs fixed in each previous release of Android Studio Ladybug, see closed issues.

General fixes and features

Below is a list of general fixes in Android Studio Ladybug | 2024.2.1 RC 1 and Android Gradle Plugin 8.7.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
Lint
"False positive" WrongConstant when using PackageManager.ResolveInfoFlags.of with Kotlin

Android Studio Koala Feature Drop | 2024.1.2 Patch 1 is now available in the Stable channel.

If you already have an Android Studio build on the Stable 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 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 Patch 1 and Android Gradle Plugin 8.6.1. 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
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 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

Android Studio Ladybug | 2024.2.1 Beta 2 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 Ladybug, see the Android Studio Preview release notes. For details of bugs fixed in each previous release of Android Studio Ladybug, see closed issues.

General fixes and features

Below is a list of general fixes in Android Studio Ladybug | 2024.2.1 Beta 2 and Android Gradle Plugin 8.7.0-beta02. 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
Lint
KtAnalysisSessionProvider incompatibility with lint checks introduced in 8.7.0-alpha04

Android Studio Ladybug Feature Drop | 2024.2.2 Canary 1 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.

General fixes and features

Below is a list of general fixes in Android Studio Ladybug Feature Drop | 2024.2.2 Canary 1 and Android Gradle Plugin 8.8.0-alpha01. 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
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