HomeAndroidAndroid Studio Giraffe is secure

Android Studio Giraffe is secure



Android Studio Giraffe is secure

Posted by Mayank Jain, Product Supervisor

Android Studio Giraffe is secure

As we speak, we’re thrilled to announce the secure launch of Android Studio Giraffe 🦒 : The official IDE for constructing Android apps!

On this Android Studio launch, we’ve upgraded the IntelliJ platform to 2022.3, together with a model new visible appear and feel in Android Studio, enhancements to Stay Edit, Compose animation previews, a brand new System Explorer, a brand new SDK improve assistant, skill to make use of Kotlin DSL in your Gradle construct scripts and way more. Learn on to study extra about how Android Studio Giraffe 🦒 might help supercharge your developer productiveness.

Thanks to all of you who’ve given us suggestions and used Android Studio since we launched our preliminary model simply over 10 years in the past. Obtain the most recent secure model immediately and we look ahead to persevering with to ship on our dedication of delivering a best-in-class built-in growth surroundings (IDE) centered on Android app growth!

IDE Enhancements

New UI for Android Studio (Preview) 

Together with the a lot anticipated IntelliJ Platform replace, we’re excited to share a preview of the visible look that we name the “New UI” for Android Studio Giraffe. The redesigned theme goals to cut back visible complexity, present simpler entry to important options, and disclose complicated performance as wanted—leading to a contemporary, cleaner appear and feel.

The New UI was first launched as an early preview in IntelliJ 2022.2 to collect suggestions from customers and different IntelliJ-based IDEs to make sure it might totally change the earlier UI. Since then, it’s progressed to beta in IntelliJ 2022.3, with many bug fixes and enhancements.

With the Giraffe launch, we’ve began adopting the brand new UI, with a number of Android Studio particular adjustments, equivalent to optimizing the default foremost toolbar and power home windows configurations for Android and refreshing our iconography within the model. We’re excited by this new design path and can proceed adoption by the Hedgehog launch and onward.

To make use of the New UI, allow it in Settings > Look & Habits > New UI. For a full checklist of adjustments, see the IntelliJ New UI documentation.

Image showing the new UI adopted from IntelliJ
The New UI adopted from IntelliJ

New diagnostic & bug reporting instrument 

As you strive the New UI, please present us detailed suggestions by our new diagnostic & bug reporting instrument that makes it simpler to report bugs with related log recordsdata already hooked up. The brand new bug reporting instrument is discovered at Assist > Acquire Logs and Diagnostic Information.

Image showing the new diagnostic & bug reporting tool
New diagnostic & bug reporting instrument

Up to date System Explorer 

Additionally transport with the brand new UI, is an up to date System Explorer (referred to as the System File Explorer in earlier variations of Android Studio). Within the System Explorer, recordsdata and associated actions are situated within the Recordsdata tab. Moreover, within the new Processes tab, you may view an inventory of debuggable processes for the linked machine. From there you may as well choose a course of and carry out a kill , force-stop, or connect the debugger to a given course of.

Image showing a screen capture of the updated device explorer
Up to date System Explorer

Coding Productiveness

Use Stay Edit to replace composables in actual time 

Stay Edit helps you to replace composables in Android emulators and bodily gadgets in close to actual time. Now you can edit composables and see the UI adjustments on the operating machine with out re-deploying your app.

This helps you by minimizing the context switching between writing and constructing your app, letting you deal with writing code longer with out interruption. To strive Stay Edit, allow it by way of Settings > Editor > Stay Edit and use Android Gradle Plugin (AGP) 8.1 or greater and Jetpack Compose Runtime 1.3.0 or greater.

Moving image illustrating updating composables in real time in Live Edit
Use Stay Edit to replace composables in actual time

 

Compose Animation Preview – Lengthen animation help 
Compose Animation Preview now helps numerous extra Compose APIs, equivalent to animate*AsState, CrossFade, rememberInfiniteTransition, and AnimatedContent (along with updateTransition and AnimatedVisibility). Moreover, now there are new pickers that allow you to set non-enum or boolean states to debug your Compose animation utilizing exact inputs. For all supported Compose Animation APIs, you may play, pause, scrub & management pace.
Moving image illustrating extended animation support in Compose Animation Preview
Compose Animation Preview – Lengthen animation help

 

Android SDK Improve Assistant 

The brand new Android SDK improve assistant helps you to see the steps required to improve the targetSdkVersion, or the API degree that your app targets, straight within the IDE. It additionally pulls upgrade-related documentation straight from the Android Developer website into its instrument window, so you do not have to leap forwards and backwards between your browser and the IDE. For every migration step, it highlights the main breaking adjustments and the right way to handle them, and even filters the total checklist of adjustments to solely present steps related to your app.

To open the Android SDK Improve Assistant, go to Instruments > Android SDK Improve Assistant.

Image of Android SDK Upgrade Assistant
Android SDK Improve Assistant

Enhancements to the construct system

Kotlin DSL in your Gradle construct scripts 

Kotlin is just not solely extra readable, it additionally presents higher compile-time checking and IDE help. With Android Studio Giraffe, we’re excited to supply the official help for Kotlin DSL in your Gradle construct scripts. Because of this Kotlin is the default language utilized in your challenge code, together with UI with Jetpack Compose, and now modifying the construct scripts too!

Now, if you end up creating new initiatives or modules ranging from Android Studio Giraffe, you get the Kotlin DSL by default. And if you wish to migrate current builds, try the Kotlin DSL migration information.

We have been working with the Gradle and JetBrains groups on this enchancment, and you’ll learn extra of their associated bulletins: Gradle Weblog; JetBrains Weblog.

Moreover, we’ve additionally added experimental help for TOML-based Gradle Model Catalogs, a function that allows you to handle dependencies in a single central location and share dependencies throughout modules or initiatives. Android Studio now makes it simpler to configure model catalogs by editor solutions and integrations with the Venture Construction dialog, plus the New Venture Wizard.

Image of Android SDK Upgrade Assistant
Kotlin DSL in your Gradle construct scripts

Obtain information throughout Gradle sync 

Should you’ve ever questioned if any surprising dependency downloads are negatively impacting your sync efficiency, the brand new Sync instrument window now features a abstract of time spent downloading dependencies, and an in depth view of downloads per repository. This view updates reside as sync takes place. It may well even aid you determine inefficiencies in the way you configure your repositories.

Moving image showing download info during gradle sync
Obtain information throughout Gradle sync

Automated per-app language help 

Sometimes, multilingual customers set their system language to 1 language—equivalent to English—however they need to choose different languages for particular apps, equivalent to Dutch, Chinese language, or Hindi. Android 13 launched help for per-app language preferences, and now Android Gradle plugin 8.1 and better can configure your app to help it mechanically primarily based in your challenge’s sources. Study extra.

Make chosen modules toolbar button 

With Android Studio Giraffe, now you can construct solely the present module you are engaged on by deciding on the Make Chosen Modules construct possibility within the toolbar. This new possibility helps you to examine that the code you simply wrote compiles with out constructing greater than wanted. Study extra.
Image of Android SDK Upgrade Assistant
Kotlin DSL in your Gradle construct scripts

Abstract

To recap, Android Studio Giraffe contains these new enhancements and options. You possibly can all the time study extra with our detailed launch notes.

IDE Enhancements

  • Upgraded to IntelliJ Platform 2022.3 : Contains numerous options and bug fixes
  • New UI for Android Studio : Android Studio now adopts numerous enhancements from the IntelliJ’s fashionable design language
  • Up to date System Explorer : Presents two new tabs : Recordsdata & Processes from the place you may view an inventory of debuggable processes, carry out a kill, force-stop, or connect the debugger
  • New diagnostic & bug reporting instrument : Simpler to report bugs for Android Studio with related log recordsdata already hooked up

Coding Productiveness

  • Use Stay Edit to replace composables in actual time : Replace composables in actual time, edit composables and see the UI adjustments on the operating machine with out re-deploying your app
  • Compose Animation Preview – Lengthen animation help : Now helps numerous extra Compose APIs and new pickers that allow you to set non-enum or boolean states to debug your Compose animation utilizing exact inputs
  • Android SDK Improve Assistant : Now helps you to see the steps required to improve the targetSdkVersion, or the API degree that your app targets straight in Studio

Enhancements to the construct system

  • Kotlin DSL in your Gradle construct scripts : With official help for Kotlin DSL in your Gradle construct scripts, Kotlin is now the one default language for challenge code, UI with Jetpack Compose, and now for construct scripts
  • Obtain information throughout Gradle sync : Exhibits a abstract of time spent downloading dependencies and an in depth view of downloads per repository
  • Automated per-app language help : AGP can now mechanically configure per-app language preferences
  • Make chosen modules toolbar button : construct solely the present module you are engaged on by deciding on the Make Chosen Modules construct possibility within the toolbar

Obtain Android Studio As we speak!

Now could be the time to obtain Android Studio Giraffe 🦒 to include the brand new options into your workflow. As all the time, we admire any suggestions on belongings you like and points or options you wish to see. Should you discover a bug or challenge, please file a difficulty and in addition try identified points. Keep in mind to additionally observe us on Twitter, Medium, or YouTube for extra Android growth updates!



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments