Google Android Studio 4.0 released: Motion Editor, Build Analyzer, Java 8 language API
Google has released the stable version of Android Studio 4.0, its latest official Integrated Development Environment (IDE) for building Android apps on Windows, Mac, Linux, and Chrome OS.
The three main additions to Android Studio 4.0 include a motion editor to speed up the creation of complex animations, a build analyzer that helps understand the cause of build-time bottlenecks, and Java 8 language application protocol interfaces (APIs).
Google released Android Studio 4.0 just ahead of the first beta of Android 11, the release of which was pushed back a month to June 3 due to complications created by the global coronavirus pandemic.
Google is host an Android 11 Beta launch show to explain some of the updates to Android Studio, Jetpack Compose, and Google Play that it allegedly leaked during the canceled Google I / O developer conference this year.
In addition to the new features, Android Studio 4.0 includes a revised CPU Profiler UI to make it easier for developers to analyze thread activity, and an improved Layout Inspector that provides live UI data. an app to debug what is displayed on the device.
The motion editor interfaces with the MotionLayout library and supports the task of manually creating XML resource files for creating animations. It also includes support for start and end states, keyframes, transitions, and timelines.
Another design-driven improvement is Layout Validation, which allows users to simultaneously compare a user interface across multiple screen dimensions, making it easier to test an application for multiple form factors, sizes and sizes. screen and resolutions.
Build Analyzer helps identify issues like plugins that can impact build times. The tool window organizes the issues into a list on the left panel with details for each issue explained in the right panel.
Google has also introduced tools to help developers identify vulnerable library dependencies in an application. Developers who build an app with the Android Gradle 4.0.0 plug-in and later get a view of dependency metadata, which describes library dependencies compiled into an app.
When importing an app, the Play Console inspects metadata to provide alerts about known issues with an app’s SDKs and dependencies. In some cases, it also provides actionable feedback to troubleshoot issues.
There is now an R8 smart editor for developers who create rule files for R8, Google’s tool to help reduce the size of an application. Android Studio now provides syntax highlighting, code completion, and error checking.