What’s new in Android improvement instruments

0
1
What’s new in Android improvement instruments



What’s new in Android improvement instruments

Posted by Mayank Jain – Product Supervisor, Android Studio

Android Studio continues to advance Android improvement by empowering builders to construct higher app experiences, sooner. Our focus has been on bettering AI-driven performance with Gemini, streamlining UI creation and testing, and serving to you future-proof apps for the evolving Android ecosystem. These improvements speed up improvement cycles, enhance app high quality, and assist you keep forward within the fast-paced world of cellular improvement.

You possibly can try the What’s new in Android Developer Instruments session at Google I/O 2025 to see a number of the new options in motion or higher but, attempt them out your self by downloading Android Studio Narwhal Characteristic Drop (2025.2.1) within the preview launch channel. Right here’s a take a look at our newest developments:

Get the newest Gemini 2.5 Professional mannequin in Android Studio

The facility of synthetic intelligence by means of Gemini is now deeply built-in into Android Studio, serving to you in any respect phases of Android app improvement. Now with entry to Gemini 2.5 Professional, we’re persevering with to search for new methods to make use of AI to supercharge Android improvement — and assist you construct higher app experiences, sooner.

Journeys for Android Studio

We’re additionally introducing agentic AI with Gemini in Android Studio.Testing your app is now a lot simpler once you create journeys – simply describe the actions and assertions in pure language for the consumer journeys you need to take a look at, and Gemini performs the checks for you. Creating journeys helps you to take a look at your app’s crucial consumer journeys throughout numerous gadgets with out writing intensive code. You possibly can then run these checks on native bodily or digital Android gadgets to validate that the take a look at labored as supposed by reviewing detailed outcomes instantly inside the IDE. Though the characteristic is experimental, the aim is to extend the velocity which you could ship high-quality code, whereas considerably decreasing the period of time you spend manually testing, validating, or reproducing points.

moving image of Gemini testing an app in Android Studio

Journeys for Android Studio makes use of Gemini to check your app.

Instructed fixes for crashes with Gemini

The App High quality Insights panel has a terrific new characteristic. The crash insights now analyzes your app’s supply code referenced from the crash, and never solely presents a complete evaluation and rationalization of the crash, in some circumstances it even presents a supply repair! With only a few clicks, you’ll be able to evaluation the modifications, settle for the code options, and push the modifications to your supply management. Now you’ll be able to decide the foundation reason behind a crash and repair it a lot sooner!

screenshot of crash analysis with Gemini in Android Studio

Crash evaluation with Gemini

AI options in Studio Labs (secure releases solely)

We’ve heard suggestions that builders need to entry AI options in secure channels as quickly as doable. Now you can uncover and check out the newest AI experimental options by means of the Studio Labs menu within the Settings menu beginning with Narwhal secure launch. You may get a primary take a look at AI experiments, share your suggestions, and assist us convey them into the IDE you utilize on a regular basis. Go to the Studio Labs tab in Settings and allow the options you want to begin utilizing. These AI options are routinely enabled in canary releases and no motion is required.

screenshot of AI features in Studio Labs

AI options in Studio Labs

    • Compose preview technology with Gemini

    • Gemini can routinely generate Jetpack Compose preview code saving you effort and time. You possibly can entry this characteristic by right-clicking inside a composable and navigating to Gemini > Generate Compose Preview or Generate Compose Preview for this file, or by clicking the hyperlink in an empty preview panel. The generated preview code is offered in a diff view that lets you rapidly settle for, edit, or reject the options, offering a sooner solution to visualize your composables.

      moving image of compose preview generation with gemini in Android Studio

      Compose Preview technology with Gemini

    • Rework UI with Gemini

    • Now you can rework UI code inside the Compose Preview atmosphere utilizing pure language instantly within the preview. To make use of it, proper click on within the Compose Preview and choose “Rework UI With Gemini”. Then enter your pure language requests, akin to “Middle align these buttons,” to information Gemini in adjusting your format or styling, or choose particular UI parts within the preview for higher context. Gemini will then edit your Compose UI code in place, which you’ll be able to evaluation and approve, rushing up the UI improvement workflow.

      side by side screenshots showing transforming UI with Gemini in Android Studio

      Rework UI with Gemini

    • Picture attachment in Gemini

    • Now you can connect picture recordsdata and supply extra data alongside together with your immediate. For instance: you’ll be able to connect UI mock-ups or screenshots to inform Gemini context about your app’s format. Consequently, Gemini can generate Compose code primarily based on a offered picture, or clarify the composables and information movement of a UI screenshot.

      screenshot of image atteachment and preview generation via Gemini in Android Studio

      Picture attachment and preview technology through Gemini in Android Studio

    • @File context in Gemini

    • Now you can connect your challenge recordsdata as context in chat interactions with Gemini in Android Studio. This allows you to rapidly reference recordsdata in your prompts for Gemini. Within the Gemini chat enter, sort @ to convey up a file completion menu and choose recordsdata to connect. You too can click on the Context drop-down to see which recordsdata have been routinely hooked up by Gemini. This provides you extra management over the context despatched to Gemini.

      screenshot of @File context in Gemini in Android Studio

      @File context in Gemini

Guidelines in Immediate Library

Guidelines in Gemini allow you to outline most well-liked coding types or output codecs inside the Immediate Library. You too can point out your most well-liked tech stack and languages. Once you set these preferences as soon as, they’re routinely utilized to all subsequent prompts despatched to Gemini. Guidelines assist the AI perceive challenge requirements and preferences for extra correct and tailor-made code help. For instance, you’ll be able to create a rule akin to “All the time give me concise responses in Kotlin.”

prompt library in Android Studio

Immediate Library Enhancements

Gemini in Android Studio for companies

Gemini in Android Studio for companies is now out there. It gives all the advantages of Gemini in Android Studio, plus enterprise-grade privateness and security measures backed by Google Cloud — giving your workforce the boldness they should deploy AI at scale whereas preserving their information protected.

Builders and admins can unlock these options and advantages by subscribing to Gemini Code Help Commonplace or Enterprise editions. Uncover the full record of Gemini in Android for enterprise options out there in your group.

Improved instruments for creating nice consumer experiences

Elevate your Compose UI improvement with the newest Android Studio enhancements.

Compose preview enhancements

Compose preview interplay is now extra environment friendly with the newest navigation enhancements. Click on on the preview title to leap to the preview definition or click on the person part to leap to the operate the place it’s outlined. Hover states present fast visible suggestions as you mouse over a preview body. Improved keyboard arrow navigation eases motion by means of a number of previews, enabling sooner UI iteration and refinement. Moreover, the Compose preview picker is now additionally out there within the secure launch.

moving image of compose preview navigation improvements in Android Studio

Compose preview navigation enhancements

Compose preview picker in Android Studio

Compose preview picker

Resizable Previews

Whereas in Compose Preview’s focus mode in Android Studio, now you can resize the preview window by dragging its edges. This provides you instantaneous visible suggestions on how your UI adapts to completely different display screen sizes, making certain responsiveness and visible consistency. This fast iteration helps create UIs that look nice on any Android machine.

ALT TEXT

Resizable Preview

Embedded Android XR Emulator

The Android XR Emulator now launches by default within the embedded state. Now you can deploy your utility, navigate the 3D area and use the Format Inspector instantly inside Android Studio, streamlining your improvement movement.

Embedded XR emulator in Android Studio

Embedded XR Emulator

Improved instruments for future-proofing and testing your Android apps

We’ve enhanced a few of your favourite options with the intention to take a look at extra confidently, future-proof your apps, and guarantee app compatibility throughout a variety of gadgets and Android variations.

Streamlined testing with Backup and Restore assist

Android Studio presents built-in Backup and Restore assist by letting you set off app backups on linked gadgets instantly from the Working Units window. You too can configure your Run/Debug settings to routinely restore from a earlier backup when launching your app. This simplifies the method of validating your app’s Backup and Restore implementation and quickens improvement by decreasing handbook setup for testing.

Streamlined testing with backup and restore support in Android Studio

Streamlined testing with Backup and Restore assist

Android’s transition to 16 KB Web page Measurement

The underlying structure of Android is evolving, and a key step ahead is the transition to 16 KB web page sizes. This basic change requires all Android apps with native code or dependencies to be recompiled for compatibility. That will help you navigate this transition easily, Android Studio now presents proactive warnings when constructing APKs or Android App Bundles which are incompatible with 16 KB gadgets. Utilizing the APK Analyzer, you too can discover out which libraries are incompatible with 16 KB gadgets. To check your apps on this new atmosphere, a devoted 16 KB emulator goal can be out there in Android Studio alongside current 4 KB photos.

Android’s transition to 16 KB page size in Android Studio

Android’s transition to 16 KB web page measurement

Backup and Sync your Studio settings

Once you register together with your Google account or a JetBrains account in Android Studio, now you can sync your customizations and preferences throughout all installs and restore preferences routinely on distant Android Studio cases. Merely choose “Allow Backup and Sync” whilst you’re logging in to Android Studio, or from the Settings > Backup and Sync web page, and comply with the prompts.

Backup and sync settings in Android Studio

Backup and Sync your Studio settings

Growing developer productiveness with Android’s Kotlin Multiplatform enhancements

Kotlin Multiplatform (KMP) permits groups to achieve new audiences throughout Android and iOS with much less improvement time. Utilization has been rising within the developer group, with apps akin to Google Docs now utilizing it in manufacturing. We’ve launched new Android Studio KMP challenge templates, up to date Jetpack libraries and new codelabs (Get Began with KMP and Migrate Current Apps to Room KMP) to assist builders who need to get began with KMP.

Experimental and options which are coming quickly to Android Studio

Android Studio Cloud (experimental)

Android Studio Cloud is now out there as an experimental public preview, accessible by means of Firebase Studio. This service streams a Linux digital machine operating Android Studio on to your internet browser, enabling Android utility improvement from wherever with an web connection. Get began rapidly with devoted workspaces that includes pre-downloaded Android SDK parts. Discover pattern initiatives or seamlessly entry your current Android app initiatives from GitHub with out a native set up. Please notice that Android Studio Cloud is at present in an experimental section. Options and capabilities are topic to important change, and customers might encounter identified limitations.

Android Studio Cloud

Model Improve Agent (coming quickly)

The Model Improve Agent, as a part of Gemini in Android Studio, is designed to avoid wasting you effort and time by automating your dependency upgrades. It intelligently analyzes your Android challenge, parses the discharge notes for included libraries, and proposes updates instantly out of your libs.variations.toml file or the refactoring menu (right-click > Refactor > Replace dependencies). The agent routinely updates dependencies to the newest suitable model, builds the challenge, fixes any errors, and repeats till all errors are mounted. As soon as the dependencies are upgraded, the agent generates a report exhibiting the modifications it made, in addition to a excessive degree abstract highlighting the modifications included within the up to date libraries.

Version updgrade agent in Android Studio

Model Improve Agent

Agent Mode (coming quickly)

Agent Mode is a brand new autonomous AI characteristic utilizing Gemini, designed to deal with complicated, multi-stage improvement duties that transcend typical AI assistant capabilities, invoking a number of instruments to perform duties in your behalf.

You possibly can describe a posh aim, like integrating a brand new API, and the agent will formulate an execution plan that spans throughout recordsdata in your challenge — including crucial dependencies, enhancing recordsdata, and iteratively fixing bugs. This characteristic goals to empower all builders to deal with intricate challenges and speed up the constructing and prototyping course of. You possibly can entry it through the Gemini chat window in Android Studio.

Agent Mode in Android Studio

Agent Mode

Play Coverage Insights beta in Android Studio (coming quickly)

Android Studio now contains richer insights and steerage on Google Play insurance policies that may affect your app. This data, out there as lint checks, helps you construct safer apps from the beginning, stopping points that might disrupt your launch course of and value extra time and assets to repair in a while. These lint checks will current an summary of the coverage, do and don’ts, and hyperlinks to Play coverage pages the place you could find extra details about the coverage.

Play Policy Insights beta in Android Studio

Play Coverage Insights beta in Android Studio

IntelliJ Platform Replace (2025.1)

Listed here are some vital IDE enhancements within the IntelliJ IDEA 2025.1 platform launch

    • Kotlin K2 mode: Android Studio now helps Kotlin K2 mode in Android-specific options requiring language assist akin to Stay Edit, Compose Preview and lots of extra

    • Improved dependency decision in Kotlin construct scripts: Makes your Kotlin construct scripts for Android initiatives extra secure and predictable

    • Hints about code alterations by Kotlin compiler plugins: Offers you clearer insights into how plugins utilized in Android improvement modify your Kotlin code

    • Automated obtain of library sources for Gradle initiatives: Simplifies debugging and understanding your Android challenge dependencies by offering fast entry to their supply code

    • Assist for Gradle Daemon toolchains: Helps forestall potential JVM errors throughout your Android challenge builds and ensures smoother synchronization

    • Automated plugin updates: Retains your Android improvement instruments inside IntelliJ IDEA up-to-date effortlessly

To Summarize

Android Studio Narwhal Characteristic Drop (2025.2.1) is now out there within the Android Studio canary channel with some superb options to assist your Android improvement

AI-powered improvement instruments for Android

    • Journeys for Android Studio: Validate app flows simply utilizing checks and assertions in pure language
    • Instructed fixes for crashes with Gemini: Decide the foundation reason behind a crash and repair it a lot sooner with Gemini
    • AI options in Studio Labs
        • Compose preview technology with Gemini: Generate Compose previews with Gemini’s code options
        • Rework UI with Gemini: Rework UI in Compose Preview with pure language, rushing improvement
        • Picture attachment in Gemini: Connect photos to Gemini for context-aware code technology
        • @File context in Gemini: Reference challenge recordsdata in Gemini chats for fast AI prompts
    • Guidelines in Immediate Library: Outline most well-liked coding types or output codecs inside the Immediate Library

Improved instruments for creating nice consumer experiences

    • Compose preview enhancements: Navigate the Compose Preview utilizing clickable names and parts
    • Resizable preview: Immediately see how your Compose UI adapts to completely different display screen sizes
    • Embedded XR Emulator: XR Emulator now launches by default within the embedded state

Improved instruments for future-proofing and testing your Android apps

    • Streamlined testing with Backup and Restore assist: Easy app testing, set off backups, auto-restore for sooner validation
    • Android’s transition to 16 KB Web page Measurement: Put together for Android’s 16KB web page measurement with Studio’s early warnings and testing
    • Backup and Sync your Studio settings: Sync Android Studio settings throughout gadgets and restore routinely for comfort
    • Growing developer productiveness with Android’s Kotlin Multiplatform enhancements: simplified cross-platform Android and iOS improvement with new instruments

Experimental and options which are coming quickly to Android Studio

    • Android Studio Cloud (experimental): Develop Android apps from any browser with simply an web connection
    • Model Improve Agent (coming quickly): Automated dependency updates save effort and time, making certain initiatives keep present
    • Agent Mode (coming quickly): Empowering builders to deal with multistage complicated duties that transcend typical AI assistant capabilities
    • Play Coverage Insights beta in Android Studio (coming quickly): Insights and steerage on Google Play insurance policies that may affect your app

Easy methods to get began

Able to attempt the thrilling new options in Android Studio?

You possibly can obtain the canary model of Android Studio Narwhal Characteristic Drop (2025.1.2) at present to include these new options into your workflow or attempt the newest AI options utilizing Studio Labs within the secure model of Android Studio Meerkat. You too can set up them aspect by aspect by following these directions.

As all the time, your suggestions is vital to us – examine identified points, report bugs, recommend enhancements, and be a part of our vibrant group on LinkedIn Medium, YouTube, or X. Let’s construct the way forward for Android apps collectively!

Discover this announcement and all Google I/O 2025 updates on io.google beginning Could 22.



LEAVE A REPLY

Please enter your comment!
Please enter your name here