Android Studio 4.2 Released |
Written by Nikos Vaggalis | |||
Monday, 10 May 2021 | |||
Although version 4.2 is considered a minor update, it still packs a host of features focused mainly on productivity, including more advanced support for GitHub pull requests. In trying to upgrade the experience of its users working with the IDE, it brings improvements to several such components like the Database Inspector, the Layout Inspector, the Systems Trace, the Apply Changes and Gradle. Starting with the Database Inspector, its surface has now become larger and resizable and also indexes the SQL query history so that you can browse through all past executed queries. On yet another Inspector component front, the Layout Inspector, a tool which updates the UI as you interact with the app, has now been updated with the added ability of disabling the live updates and instead refreshing manually whenever the user wants to. Metrics for analyzing performance. Metrics such as the state of image buffers , CPU frequency by core and memory usage are now easier to track through a dedicated tab. "Apply Changes", a feature which lets you push code and resource changes without restarting your app, now also supports adding static final primitive fields. On the Gradle side, Safe Args the Gradle plug-in that generates simple object and builder classes for type safe navigation, has been upgraded with autocompletion and code navigation from source to XML. Also the Android Gradle plugin 4.2 now supports both APK v3 and APK v4 signing formats, adds a new resource compiler which improves build performance especially on Windows, and gets upgraded to Java programming language version 8. The most useful update Gradle-wise, however, is the introduction of the Upgrade Assistant, a tool that allows previewing the changes before upgrading your project to the latest Android Gradle plugin : The assistant allows you to 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. Other enhancements in no particular order are that the multiple device deployment option has been brought back and the new project wizard became more user friendly. Finally, Studio 4.2 gets all the updates that IntelliJ IDEA Community Edition 2020.2 brings, since Android Studio is based on Intellij. That includes more advanced support for GitHub pull requests and a new Inspections Widget that displays the number of warnings and errors in an opened file thus allowing for quickly navigating between them.
More InformationAndroid Developers - Android Studio 4.2 Related ArticlesAndroid Studio 4.1 - No Relief In Sight Love It or Hate It, Gradle Reaches Version 7.0 Introducing The Android Kotlin Developer Nanodegree Android Jetpack Compose Is Welcome, But What About The Churn?
To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.
Comments
or email your comment to: comments@i-programmer.info |
|||
Last Updated ( Monday, 10 May 2021 ) |