Mobile

Android Builders Weblog: Android Studio Dolphin

Written by admin


Posted by Yuri Blaise, Product Supervisor, Android
 

The Android Studio crew took a deep dive into making it simpler to make top 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 improvement 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 person interface of your app, we introduce a useful Compose UI counter inside the Format Inspector to maintain observe 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 units. 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 take a look at units.

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.

Improvement instruments

  • Intellij 2021.3 Platform Replace – Android Studio Dolphin contains the Intellij 2021.3 launch, which has options equivalent to an improved Discover Usages stream, Kotlin debugger updates, fixed situations inspection for Kotlin, improved code intentions previews and extra. Study Extra.
  • Gradle Managed Digital Units – In case you’ve wished 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 units you want on your automated exams 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 units throughout instrumentation exams. Gradle additional optimizes your take a look at execution with new options that allow snapshot administration, take a look at caching, and take a look at sharding to make sure your exams run effectively, shortly, and constantly.

Gradle Managed Digital Units additionally introduces a totally new kind of gadget, known as the Automated Take a look at System, which is optimized for automated exams, leading to vital discount in CPU and reminiscence utilization throughout take a look at execution. Study extra.

Gradle Managed Digital Units

Jetpack Compose

  • Compose Animation Inspector – Now you can see all supported animations without delay and coordinate them with the Animation Preview inspector. It’s also possible to freeze a particular animation or scrub by way of a complete animation frame-by-frame. Animation Preview presently helps animations constructed with updateTransition and AnimatedVisibility.

Compose Animation Inspector

  • Compose Multipreview Annotations – As a substitute of copying and pasting the identical @Preview code in every single 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 without delay, permitting you to preview a number of units, fonts, and themes on the identical 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 typically, or simply as you count on. For simpler utilization, recomposition counts and skip counts can optionally be proven within the Part 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 units within the System 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 must re-pair units 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 units; use it to set off actions such because the palm gesture or to simulate tilting the gadget. To be taught extra, see widespread actions within the emulator.

Put on OS Emulator Facet Toolbar

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

New Put on OS Run/Debug configuration sorts

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

Improvement 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. If you’re utilizing a earlier launch of Android Studio, you possibly can merely replace to the most recent model of Android Studio. If you wish to preserve a secure model of Android Studio, you possibly can run the secure launch model and canary launch variations of Android Studio on the identical time. Study extra.

To make use of the talked about Android Emulator options be sure to are operating no less than Android Emulator v31.3.0 downloaded by way of the Android Studio SDK Supervisor.

We recognize any suggestions on belongings you like, and points or options you want to see. In case you discover a bug or concern, be happy to file a problem. Observe us — the Android Studio improvement crew on Twitter and on Medium.



About the author

admin

Leave a Comment