The official Android programming IDE now has a new stable version: Android Studio Arctic Fox 2020.3.1. While the previous version was Android Studio 4.2, Google decided to change the numbering to be more equivalent to the version of InteliJ, on which it is based.
As usual, Android Studio comes with a good number of new features, the most important of which is probably Jetpack Compose 1.0, which has gained a lot of features. New templates and very useful improvements are also added to the Database and Task Inspector.
Support for Jetpack Compose 1.0
Jetpack Compose is the toolkit for building user interfaces in a modern and fast way. It has reached stable version 1.0, accessible from Android Studio Artif FOX 2020.3.1 and with a lot of new features.
Jetpack Compose 1.0 adds a preview view, a deployment preview view, and Compose support in Android Studio’s Layout Inspector, among other changes.
New responsive template
This version of Android Studio includes a new template when starting a new project. The responsive template adapts smoothly to all types of situations and sizes: phones, foldables, tablets or split screen.
Unit tests use Gradle
To improve the consistency of test runs, Android Studio uses Gradle to run all unit tests by default, transparently to the user. Of course, Android JUnit configurations are no longer recognized, which must be migrated to be used as Gradle runtime configurations.
New background task inspector
If your project uses the WorkManager 2.5.0 or higher library, you can use the new Background Task Inspector tool to monitor everything that is happening in the background in your application and the status of individual workers.
Export data from the Database inspector
Android Studio Database Inspector gains an exciting new feature – you can save and share data from your app’s databases. It is now possible to export entire databases, tables and queries in DB, SQL or CSV format.
Test improvements on multiple devices at the same time
Now you can take instrumentation tests on multiple devices at the same time in parallel and view in the results panel the results of each of the tests on each of the devices. In this panel you can find out if the test failed at API level or by hardware of each device.
New wizard to pair Wear OS
Android Studio Artic Fox 2020.3.1 includes a new step-by-step wizard to pair a Wear OS emulator with a real or virtual mobile. The wizard guides you through installing the Wear OS app on your mobile and establishing the connection between the two.
Android Gradle 7.0 plugin. After renumbering in the Gradle plugin, from version 4.2 we went directly to version 7.0.
New interface for Memory Profiler. Android Studio memory profiler receives a new interface for various recording activities, such as capturing a stack dump and recording native, Java, and Kotlin memory allocations.
Support for StateFlow in the data link. Kotlin applications that use coroutines can use StateFlow objects as a data binding source to automatically notify the user interface of data changes.
Improvements to import suggestions. The number of libraries supported by the import suggestion has been improved, and the list of these libraries is updated more frequently.
AGP Update Assistant improvements. The Gradle plugin upgrade wizard now has its own window where the list of steps to perform is indicated.
Refactoring for non-transitive R classes. A new refactoring tool is added in You can refactor> Migrate to non-transitive R classes.
Deploy on the device. New tool to display a snippet of the interface to a device, without having to send the entire application.
Being an official update of Android Studio, the new version notice will be displayed automatically or via the menu Help> Check for updates. You can also download Android Studio Artic Fox 2020.3.1 from its official website.