Tuesday, September 22, 2020

Android Studio 4.2 Canary 12 available


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