Latest Update to Google’s Android Studio IDE Improves Development Efficiency and Optimizes Automated Testing | iThome

Google releases the latest version of the IDEAndroid Studio Dolphin, the 3 major updates of this release focus on Jetpack Compose, Wear OS and development efficiency. For Jetpack Compose, Android Studio Dolphin now provides tools that allow developers to preview multiple screens and animations, and adds a range of development features for Wear OS to allow developers to prepare apps and surfaces for Wear OS 3.

Google updates Intellij in Android Studio, the latest version 2021.3 features an improved Find Uses workflow, a Kotlin debugger, and preview features like Kotlin’s constant health check. Also, in the past, when developers wanted to use the emulator to automate application testing, they would have difficulty adjusting and configuring Gradle Managed Virtual Devices has been added to the latest Android Studio, which allows developers to use required virtual devices for automated testing Described as part of the build and Gradle handles the rest.

From downloading the SDK, acquiring the device to configuring and even running tests, Gradle can manage the lifecycle of virtual devices during instrumentation testing. Google said Gradle will enable new features such as snapshot management, test caching and test sharding for further optimized testing operation. Additionally, Gradle Managed Virtual Devices has added a new type of device, called an automated test device, which can be optimized for automated testing, significantly reducing CPU and memory usage during testing.

The Jetpack Compose update in Android Studio adds Compose Animation Inspector, allowing developers to view all supported animations simultaneously, and in Animation Inspector they can adjust animations, freeze specific animations, or browse the entire animation frame by frame. Developers can now also use Compose Recomposition Counts to simplify debugging the Jetpack Compose user interface. By looking at the redial counters, developers can see if the UI is refreshed as often as expected.

For the Wear OS update, the analog pairing assistant in Android Studio allows developers to pair one or more watch emulators to the phone in Device Manager without tedious operations. At the same time, Android Studio will also be closed. After continuing to remember as a pair, developers don’t have to re-pair the device that often.

The simulation toolbar, which allows developers to simulate user gestures, provides buttons and interactions that correspond to physical Wear OS devices, and can trigger simulated actions such as palm gestures or device tilt.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.