After releasing 4.2 Beta 6 on March 06th of 2021, JetBrains & the google development team release the stable version on May 04th, 2021. Before rushing to download the new version there are few things should know as developers. An upgraded IntelliJ platform and a handful of new features centered on improving the productivity of android app developers.

Upgrading the android project that working on to the latest version can be complicated sometimes. To avoid it, in the new vision of android studio have a solution! App project upgrade assistant that makes uncomplicated and migrates your project and to take advantage of the latest Android Gradle Plugin APIs. Plus they have made new enhancements on flowing features Database Inspector, System Trace, SafeArgs support, Apply Changes, the new project wizard, and more. Here download stable version with the new features! download Android Studio 4.2 stable version  

And keep reading to find out a list of new features in Android Studio 4.2



IntelliJ Platform Update –New IntelliJ IDEA Community Edition 2020.2, full of the new and fresh features which support Android Studio 4.2 new release. GitHub UI for pull requests, a new Inspections Widget that displays the number of warnings and errors, and also new features for the number of frameworks and technologies packed with IntelliJ IDEA 2020.2 . And find out more…

Safe Args Support – Using Safe Args is that the suggested way to ensure data encapsulation if you wish to pass data between 2 destinations in your app once you using victimization the Jetpack Navigation component. In the new stable version they have added code autocompleting for Directions Args, and code navigation from source to XML, and more

Safe Args Support

New Project Wizard and Module Wizard Updates - This release includes a visual refresh to the new project wizard to make it easier to discover Android device types, for each template they have added ViewBinding. Furthermore, they also made a visual update to the new module wizards to make it easier to understand the variety of module types you can add to your app.

New Project Wizard & New Module Wizard


Database Inspector Improvements – with the database inspector make easier to manage and monitor the in-app database. The development team added a new offline mode so that you can still keep inspecting your app's databases after a process disconnects, making it easier to diagnose your app after a crash. And they added a handy query history option as well.

Query History with the Database Inspector

Retrace Command Line Tool - As part of your app compilation process, R8 obfuscates Kotlin and Java programming language code. This can create stack traces not possible to decipher since varieties and technique names area unit obfuscated and shortened to cut back the memory footprint of your app. The Retrace command-line tool deobfuscates these names and recovers inlined frames using a mapping.txt file, making stack traces understandable again The new standalone tool can be found at ./sdk/cmdline-tools/latest/bin/retrace.  Learn more.


AGP Upgrade Assistant – If you are using deprecated APIs, Migrating your project to the latest Android Gradle Plugin (AGP) can sometimes be problematic. For this matter, they created a new upgrade assistant. It let you toggle the commands that will be executed on your project to upgrade to a higher version of AGP, preview exactly which files will be affected by the AGP upgrade, and lastly globally update deprecated configurations. Here is the transition to the Android Gradle Plugin 7.0.

AGP Upgrade Assistant

·Apply Changes Enhancements – without restarting your running app Apply Changes lets you push code and resource changes In Android Studio 4.2 they have expanded the number of compatible changes with Apply Changes to include adding resources (which accounted for 23% of changes that needed a full restart) and adding static final fields (e.g. constants) when running on an Android 11+ device or emulator.

Android Gradle Plugin 4.2 - With AGP 4.2, they made several notable changes. First, they implemented a new resources compiler which should aid in improving build performance, especially on Windows machines. Secondly, they have updated the default Java programming language to version 8. Lastly, they added support for the APK v3 and APK v4 signing formats. Learn more about additional AGP updates here.

APK v3 and APK v4 singing support code

// build.gradle.kts

android {
signingConfigs {
config {


Multiple Device Deployment – When you developing and testing the app you have to deploy the app on multiple devices to see the result. The very early version of the android studio had this feature and they integrated it directly into the device selection menu in Android Studio 4.2. To note, if you need to test your app on multiple devices you can enable this feature.

Multiple Device Deployment


System Trace Improvements - To understand the fine-grained performance characteristics of your app, it helps to use the system trace features inside of the Android Studio profiers. Android Studio 4.2 has a new event table in the system trace. using this new table view you can see; BufferQueue, RSS memory counters, and CPU core frequency all within a compact user interface.

Profiler with new System Trace Events Table

Android Studio 4.2 new features and enhancement in short


  • IntelliJ 2020.2.3 Platform Update
  • Safe Args Support
  • New Project Wizard and Module Wizard Updates


  • Database Inspector Improvements
  • Retrace Command Line Tool


  • AGP Upgrade Assistant
  • Apply Changes Enhancements
  • Android Gradle Plugin 4.2


  • Multiple Device Deployment


  • System Trace Improvements

Check the following release notes also

Android studio
Android Gradle
Android emulator

Have fun coding!