Android Studio 3.4 releases with a bunch of new tools for Android developers. Google also promises that it has performance improvements and bug fixes on top of the new features.
Google is now enabling R8 code shrinking by default. Previously, the code shrinking process was split into two tasks. The first one was handled by ProGuard and the second one by D8 and Desugar. A classification like that was inefficient, to say the least. R8 completely replaces the ProGuard while running along with D8 and Desugar. That way, it can remove unused code, shrink the remaining one, and optimize the application all at once, saving your time and workstation’s resources.
Android Studio 3.4 now brings emulator images of Android Q beta. You can now update/add all the APIs Android Q introduced, or delete the deprecated ones.
In Android Studio 3.4, the IDE will now tell you every time you forget to import the library. Jetpack’s modularized nature helps it choose only the required set of libraries, thus adding minimal weight to the application’s code.
A new tool called 'Resource Manager' lets you import and manage the graphics resources. Now you can drag and drop any file from the Resource Manager to the application layout.
An updated Layout Editor now keeps every option under one window for better navigation. It also comes with a new color picker and individually highlighted errors and warnings.
Android Studio 3.4 also includes a new Project Structure Dialog (PSD). It is basically a user interface for managing Gradle project files and dependencies. It also helps you introduce new variables and improve your code by reading the suggestions.
Android Studio 3.4 is available from the Android Studio website. If you’re already using the product, you can update from the boot screen.
You can get more information on Android Studio release notes.