Android Studio 4.2 Brings IntelliJ Upgrade, Safe Args Support, and More
In October of last year, Google rolled out Android Studio 4.1 with support for foldable items in the Android emulator, some styling updates, TensorFlow Lite improvements, and more. Over the past few months, the company has been working on the next major Android Studio update, and it’s now finally available on the stable channel.
Android Studio 4.2 is a major release which brings several new features and improvements. According to the Android Studio release notes, the update includes the Android Gradle 4.2.0 plug-in, an offline mode for the Database Inspector, support for Safe Args, an update of the IntelliJ platform, a visual refresh for the New Project wizard, and more. In this article, we’ll highlight some of the major changes introduced in the update.
Updating the IntelliJ platform
Android Studio 4.2 comes with all of the major features and updates found in IntelliJ IDEA Community Edition 2020.2, including an updated GitHub user interface for pull requests, a new centralized issues window, and more. The release also brings a new inspections widget that displays the number of warnings and errors in the current file and allows developers to easily navigate between them, a new Problems tool window, a new shared index plugin to reduce indexing time on large projects by around 60-75%, etc. See the IntelliJ IDEA 2020.2 release release for more details.
Updates to Project Assistant and Module Assistant
The update also includes a visual refresh of the New Project wizard and the Module wizard. The updated user interface will help developers easily discover the types of Android devices and understand the variety of types of modules they can add to their app. Google also added a ViewBinding to each of the models.
Database inspector improvements
Android Studio 4.2 makes several improvements to the Database Inspector. It now has a new offline mode that will allow developers to inspect their app’s database after a process disconnects, making it easier to diagnose issues after a crash. The update also brings a handy request history option that will help developers view all previous requests.
Besides the changes mentioned above, Android Studio 4.2 also brings improvements for features like System Trace, Safe Args support, multi-device deployment, and more. You can watch the embedded video below for more details on these changes.