[go: up one dir, main page]

Release updates archive


Android Studio 4.2 Canary 12 is now available in the Canary and Dev channels.

If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.
For information on new features and changes in all preview builds of Android Studio 4.2, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.

Database Inspector: Query editor

The Database Inspector has been updated to help you write and execute your custom SQL statements. When you open the inspector and open a New query tab, you should notice a larger, resizable editor surface to author and format your queries, as shown below.

Additionally, we now provide history of your previous queries. When you click on the Show query history button, you should see a list of queries you previously ran against the currently selected database. Click a query in the list to see a preview of the full query in the editor and press Enter to copy it to the editor. Then, click Run to execute the statement.

To learn more, see the release notes.

General Fixes

This update includes fixes for the following issues:

Build
  • Issue #135292528: Support setting JDK for Gradle Daemon started by Android Studio via env variable
  • Issue #140403764: NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN
Layout Editor Lint View Binding
  • Issue #140882630: ViewBinding cannot determine Class due to uppercase package name


Android Studio 4.2 Canary 11 is now available in the Canary and Dev channels.

If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.
For information on new features and changes in all preview builds of Android Studio 4.2, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.

General Fixes

This update includes fixes for the following issues:

Android Gradle Plugin Code Editor
  • Issue #167417473: Back action (Cmd+Option+ <-) no longer navigates back to last caret position
  • Issue #165340789: AS Dagger graph navigation doesn't work with Provider and Lazy
ViewBinding
  • Issue #167583121: AGP 4.2a9: Error in dataBindingGenBaseClassesDebug fails build

Additionally the issues below were addressed in this release but may not be necessarily fixed:

Android Gradle Plugin Layout Editor
  • Issue #158344314: Maintain size and theme selection of design preview rendering
Navigation Editor
  • Issue #160395290: Preview of navigation file not working on Android Studio 4.1 and 4.2
Project Structure


Android Studio 4.1 RC 3 is now available in the Beta channel.

If you have Android Studio set up to receive updates on the Beta channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.

For information on new features and changes in all preview builds of Android Studio 4.1, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.

General Fixes

This update includes fixes for the following issues:


Android Gradle Plugin Lint
  • Issue #79995034: Lint unused id does not take in account constraint_referenced_ids
Running Tests
  • Issue #162255811: Unit testing fails to find some classes/methods in Studio 4.1

 

Emulator 30.1.3 is now available in the Canary and Dev channels.

General fixes available in this release

  • Improved support for YUV images used with AHardwareBuffer + Vulkan.

  • To improve discoverability, when running foldable AVDs, pressing the folding icon on the toolbar will open the 3D foldable view.

  • Added support for rollable displays.

  • Updated macOS build documentation.

  • Fixed issues when setting the theme and hiding the extended controls window.


Android Studio 4.2 Canary 10 is now available in the Canary and Dev channels.

If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.
For information on new features and changes in all preview builds of Android Studio 4.2, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.

General Fixes

This update includes fixes for the following issues:

Android Gradle Plugin Jetpack (androidx) Running Tests
  • Issue #166291465: Test results panel in Android Studio 4.2 marks tests with failed assumptions as failed

Additionally the issues below were addressed in this release but may not be necessarily fixed:

Android Gradle Plugin Import/Sync
  • Issue #166240410: Switching variants with composite build (includeBuild) is broken
Indexing Upgrade Assistant
  • Issue #163364829: Bug: stable, beta and canary can't open Google's own sample project


Android Studio 4.2 Canary 9 is now available in the Canary and Dev channels.

If you have Android Studio set to receive updates on the Canary or Dev channel, you can get the update by choosing Help > Check for Updates (Android Studio > Check for Updates on macOS). Otherwise, you can download it here.
For information on new features and changes in all preview builds of Android Studio 4.2, see the Android Studio Preview release notes. For details of bugs fixed in each preview release, see previous entries on this blog.

We greatly appreciate your bug reports, which help us to make Android Studio better. If you encounter a problem, let us know by reporting a bug. Note that you can also vote for an existing issue to indicate that you are also affected by it.

Support for Safe Args

Safe Args is a Gradle plugin that generates simple object and builder classes for type-safe navigation and access to any associated arguments. Android Studio 4.2 Canary 9 and higher includes special support when working with Safe Args, as described below:

  • Autocompletions for Directions, Args, and the various builder classes
  • Support for both Java and Kotlin safe args plugins
  • Navigation from source to XML

General Fixes

This update includes fixes for the following issues:

Android Gradle Plugin
  • Issue #64551265: Allow application of the Android Gradle plugins using Gradle's plugins block
  • Issue #164163031: Android Studio 4.1 RC1 is not installing test apk built using AGP 4.1 RC1 on Emulator
  • Issue #165833833: Break if ANDROID_SDK_HOME and ANDROID_PREFS_ROOT point to different location
  • Issue #166168605: AndroidLocation should use a logger object to output warnings.
Android Studio
  • Issue #166161723: Invalid "Using ANDROID_SDK_HOME for the location" warning: env var not set
Import/Sync
  • Issue #165017523: Android IntelliJ plugin: Gradle sync failed: Property found to be invalid, this should never happen!
Lint View Binding
  • Issue #164794528: ViewBinding - <fragment> tag should be excluded from generated binding fields