Sunday, October 15, 2023
HomeMobileAndroid Builders Weblog: Android Studio Dolphin

Android Builders Weblog: Android Studio Dolphin


Posted by Yuri Blaise, Product Supervisor, Android
 

The Android Studio crew took a deep dive into making it simpler to make prime quality apps with the most recent secure launch of Android Studio Dolphin 🐬(2021.3.1). This launch focuses on three key themes: Jetpack Compose, Put on OS, and growth productiveness.

For Jetpack Compose, Android Studio Dolphin now options dependable instruments to preview a number of screens and simply preview animations. Moreover, as you debug the consumer interface of your app, we introduce a helpful Compose UI counter inside the Format Inspector to maintain monitor of when your UI recomposes.

With Android Studio Dolphin, we added a spread of Put on OS options to assist get your Put on apps, tiles, and watch faces prepared for the entire Put on OS 3 gadgets. With an up to date Put on OS Emulator, an intuitive Pairing Assistant, and new deployment flows for launch tiles and watch faces, it is simpler and extra environment friendly than ever to make nice apps for WearOS.

Lastly, to make you much more productive when utilizing Android Studio, we enabled Gradle Managed Digital Units to centrally handle your check gadgets.

To take a swim in our newest replace, obtain it at the moment.

Learn on or watch under to get an in depth description of the brand new options launched in Android Studio Dolphin.

Growth instruments

  • Intellij 2021.3 Platform Replace – Android Studio Dolphin contains the Intellij 2021.3 launch, which has options akin to an improved Discover Usages circulation, Kotlin debugger updates, fixed situations inspection for Kotlin, improved code intentions previews and extra. Study Extra.
  • Gradle Managed Digital Units – In the event you’ve needed to automate your app testing utilizing emulators, however discovered it cumbersome to coordinate, and setup, then Gradle Managed Digital Units is for you. Simply describe the digital gadgets you want to your automated assessments as part of your construct, and let Gradle maintain the remainder. From SDK downloading, to gadget provisioning and setup, to check execution and teardown, Gradle manages the lifecycle of your digital gadgets throughout instrumentation assessments. Gradle additional optimizes your check execution with new options that allow snapshot administration, check caching, and check sharding to make sure your assessments run effectively, shortly, and persistently.

Gradle Managed Digital Units additionally introduces a very new sort of gadget, known as the Automated Take a look at Machine, which is optimized for automated assessments, leading to vital discount in CPU and reminiscence utilization throughout check execution. Study extra.

Gradle Managed Digital Units

Jetpack Compose

  • Compose Animation Inspector – Now you can see all supported animations directly and coordinate them with the Animation Preview inspector. You may also freeze a particular animation or scrub by way of a complete animation frame-by-frame. Animation Preview at present helps animations constructed with updateTransition and AnimatedVisibility.

Compose Animation Inspector

  • Compose Multipreview Annotations – As an alternative of copying and pasting the identical @Preview code all over the place throughout your app, you possibly can outline an annotation class that features a number of preview definitions; that new annotation generates all these previews directly, permitting you to preview a number of gadgets, fonts, and themes on the similar time with out repeating these definitions for each single composable. Study extra.

Multipreview annotations

  • Compose Recomposition Counts in Format Inspector – To assist debug your Jetpack Compose UI, now you can view recomposition counts for a Compose app within the Format Inspector. With this device, you possibly can perceive in case your UI is updating too usually, or simply as you anticipate. For simpler utilization, recomposition counts and skip counts can optionally be proven within the Element Tree and Attributes panels. Study extra.

Compose Recomposition Counts

Put on OS

  • Put on OS Emulator Pairing Assistant – the Put on OS Emulator Pairing Assistant means that you can see Put on OS gadgets within the Machine Supervisor, pairing a number of watch emulators with a single telephone with out having to navigate by way of a number of ADB instructions and gadget mixtures. As a bonus, you additionally do not need to re-pair gadgets as actually because Android Studio remembers pairings after it closes. Study extra.

Put on OS Emulator Pairing Assistant

  • Wear OS Emulator Toolbar – The Android Emulator toolbar now has new buttons and interactions that align to Put on OS bodily gadgets; use it to set off actions such because the palm gesture or to simulate tilting the gadget. To study extra, see widespread actions within the emulator.

Put on OS Emulator Aspect Toolbar

  • Put on OS Direct Floor Launch – When deploying your WearOS app, it may be difficult at occasions to get your app to the precise state, particularly in case you are engaged on options like Watch Face problems. With Android Studio Dolphin, you possibly can create Run/Debug configurations for Put on OS tiles, watch faces, and problems that may be launched immediately from Android Studio. Study extra.

New Put on OS Run/Debug configuration varieties

To recap, Android Studio Dolphin contains these new enhancements and options:

Growth Instruments

  • Intellij 2021.3 Platform Replace
  • Gradle Managed Digital Units

Jetpack Compose Instruments

  • Compose Animation Inspector
  • Compose MultiPreview Annotations
  • Compose Recomposition Counts in Format Inspector

WearOS

  • Put on OS Emulator Pairing Assistant
  • Put on OS Emulator Toolbar
  • Put on OS Direct Floor Launch

Take a look at the Android Studio launch notes, Android Gradle plugin launch notes, and the Android Emulator launch notes for extra particulars.

Getting Began

Obtain

Obtain the most recent model of Android Studio Dolphin from the obtain web page. In case you are utilizing a earlier launch of Android Studio, you possibly can merely replace to the most recent model of Android Studio. If you wish to keep a secure model of Android Studio, you possibly can run the secure launch model and canary launch variations of Android Studio on the similar time. Study extra.

To make use of the talked about Android Emulator options ensure you are working at the least Android Emulator v31.3.0 downloaded through the Android Studio SDK Supervisor.

We respect any suggestions on belongings you like, and points or options you want to see. In the event you discover a bug or challenge, be happy to file a difficulty. Comply with us — the Android Studio growth crew on Twitter and on Medium.





Supply hyperlink

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments