Android Studio Iguana is steady

Android Studio Iguana is steady

[ad_1]


Posted by Neville Sicard-Gregory – Senior Product Supervisor, Android Studio

Right this moment we’re launching Android Studio Iguana 🦎 within the steady launch channel to make it simpler so that you can create top quality apps. With options like Model Management System assist in App High quality Insights, to the brand new built-in assist to create Baseline Profiles for Jetpack Compose apps, this model ought to improve your growth workflow as you optimize your app. Obtain the most recent model in the present day!

Take a look at the record of recent options in Android Studio Iguana beneath, organized by key developer flows.

Debugging

Model management system integration in App High quality Insights

When your launch construct is a number of commits behind your native supply code, line numbers in Firebase Crashlytics crash experiences can simply go stale, making it harder to precisely navigate from crash to code when utilizing App High quality Insights. For those who’re utilizing git on your model management, there’s now an answer to this downside.

While you construct your app utilizing Android Gradle Plugin 8.3 or later and the most recent model of the Crashlytics SDK, AGP consists of git commit data as a part of the construct artifact that’s revealed to the Play Retailer. When a crash happens, Crashlytics attaches the git data to the report, and Android Studio Iguana makes use of this data to check your native checkout with the precise code that brought on the crash out of your git historical past.

After you construct your app utilizing Android Gradle Plugin 8.3 or larger with the most recent Crashlytics SDK, and publish it, new crash experiences within the App High quality Insights window allow you to both navigate to the road of code in your present git checkout or view a diff report between the present checkout and the model of your app codebase that generated the crash report. Be taught extra.

app quality insights with version control system integration in Android Studio

App High quality Insights with Model Management System Integration

View Crashlytics crash variants in App High quality Insights

app quality insights in Android Studio

Crash variants in App High quality Insights

Right this moment, when you choose a Crashlytics problem in App High quality Insights, you see aggregated information from occasions that share similar factors of failure in your code, however could have totally different root causes. To assist in your evaluation of the basis causes of a crash, Crashlytics now teams occasions that share very related stack traces as problem variants. Now you can view occasions in every variant of a crash report in App High quality Insights by choosing a variant from the dropdown. Alternatively, you may view combination data for all variants by choosing All.

Design

Jetpack Compose UI Test

To assist builders construct adaptive and accessible UI in Jetpack Compose, Iguana introduces a brand new UI Test mode in Compose Preview. This characteristic works equally to visible linting and accessibility checks integrations for views. Activate Compose UI verify mode to mechanically audit your Compose UI and verify for adaptive and accessibility points throughout totally different display screen sizes, resembling textual content that is stretched on giant screens or low shade distinction. The mode highlights points discovered in several preview configurations and lists them within the issues panel.

Strive it out by clicking the UI Test icon in Compose Preview.

UI Check entry point in Compose Preview

UI Test entry level in Compose Preview

UI Check results of Reply App in Compose Preview

UI Test outcomes of Reply App in Compose Preview

Progressive rendering for Compose Preview

Compose Previews in Android Studio Iguana now implement progressive rendering, permitting you to iterate in your designs with much less loading time. This characteristic mechanically lowers the element of out-of-view previews to spice up efficiency, which means you may scroll via even essentially the most complicated layouts with out lag.

moving image showing progressive rendering in Compose

Progressive Rendering in Compose

Develop

Intellij Platform Replace

Android Studio Iguana consists of the IntelliJ 2023.2 platform launch, which has many new options resembling assist for GitLab, textual content search in Search In all places, shade customization updates to the brand new UI and a number of recent enhancements. Be taught extra.

Testing

Baseline Profiles module wizard

Many instances while you run an Android app for the primary time on a tool, the app can seem to have a gradual begin time as a result of the working system has to run just-in-time compilation. To enhance this case, you may create Baseline Profiles that assist Android enhance points like app start-up time, scrolling, and navigation velocity in your apps. We’re simplifying the method of organising a Baseline Profile by providing a brand new Baseline Profile Generator template within the new module wizard (File > New > New Module). This template configures your undertaking to assist Baseline Profiles and employs the most recent Baseline Profiles Gradle plugin, which simplifies setup by automating required duties with a single Gradle command.

Baseline Profile module wizard - Create New Module

Baseline Profile Generator

Moreover, the template creates a run configuration that lets you generate a Baseline Profile with a single click on from the “Choose Run/Debug Configuration” dropdown record.

Generate Baseline Profile drop-down menu

Generate Baseline Profile drop-down menu

Take a look at in opposition to configuration modifications with the Espresso Gadget API

Synchronous testing of window size changes using Espresso Device API

Synchronous testing of window measurement modifications utilizing Espresso Gadget API

Catch structure issues early and guarantee your app delivers a seamless person expertise throughout gadgets and orientations. The Espresso Gadget API simulates how your app reacts to configuration modifications—resembling display screen rotation, gadget folding/unfolding, or window measurement modifications—in a synchronous manner on digital gadgets. These APIs make it easier to rigorously take a look at and preemptively repair points that frustrate customers so that you construct extra dependable Android apps with confidence. These APIs are constructed on prime of recent gRPC endpoints launched in Android Emulator 34.2, which allows safe bidirectional information streaming and exact sensor simulation.

Pixel 8 and Pixel 8 Professional gadgets in Android Emulator (34.2)

Take a look at your app on the most recent Google Pixel gadget configurations with the up to date Android Digital Gadget definitions in Android Studio. With Android Studio Iguana and the most recent Android Emulator (34.2+), entry the Pixel Fold, Pixel Pill, Pixel 7a, Pixel 8, and Pixel 8 Professional. Validating your app on these digital gadgets is a handy manner to make sure that your app reacts accurately to quite a lot of display screen sizes and gadget sorts.

New Pixel Android Virtual Devices in the Android Emulator

New Pixel Android Digital Gadgets within the Android Emulator.

Construct

Assist for Gradle Model Catalogs

Android Studio Iguana streamlines dependency administration with its enhanced assist for TOML-based Gradle Model Catalogs. You will profit from:

    • Centralized dependency administration: Preserve all of your undertaking’s dependencies organized in a single file for simpler enhancing and updating.
    • Time-saving options: Get pleasure from seamless code completion, sensible navigation inside your code, and the power to rapidly edit undertaking dependencies via the handy Mission Construction dialog.
    • Elevated effectivity: Say goodbye to scattered dependencies and handbook model updates. Model catalogs offer you a extra manageable, environment friendly growth workflow.

New initiatives will mechanically use model catalogs for dependency administration. When you have an current undertaking, take into account making the change to learn from these workflow enhancements. To discover ways to replace to Gradle model catalogs, see Migrate your construct to model catalogs.

Further SDK insights: coverage points

Android Studio Iguana now proactively alerts you to potential Google Play coverage violations via integration with the Google Play SDK Index. Simply see Play coverage points proper in your construct recordsdata and Mission Construction Dialog. This streamlines compliance, serving to you keep away from surprising publishing delays or rejections on the Google Play Retailer.

Android Studio's project structure dialog showing a warning from the Google Play SDK Index

A warning from the Google Play SDK Index in Android Studio’s Mission Construction dialog

Android Studio compileSdk model assist

Utilizing Android Studio to develop a undertaking that has an unsupported compileSdk model can result in surprising errors as a result of older variations of Android Studio could not deal with the brand new Android SDK accurately. To keep away from these points, Android Studio Iguana now explicitly warns you in case your undertaking’s supposed compileSdk is for a more moderen model that it doesn’t formally assist. If out there, it additionally suggests shifting to a model of Android Studio that helps the compileSdk utilized by your undertaking. Remember the fact that upgrading Android Studio may also require that you simply improve AGP.

Abstract

To recap, Android Studio Iguana 🦎consists of the next enhancements and options:

Debugging

Design

Develop

Testing

Construct

Obtain Android Studio Right this moment

Obtain Android Studio Iguana 🦎 in the present day and make the most of the most recent options to streamline your workflow and make it easier to make higher apps. Your suggestions is important – verify identified points, report bugs, recommend enhancements, and be a part of our vibrant neighborhood on LinkedIn Medium, YouTube, or X (previously generally known as Twitter). Let’s construct the way forward for Android apps collectively!



[ad_2]

More Reading

Post navigation

Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

back to top