Manage dependencies with AI
Stay organized with collections
Save and categorize content based on your preferences.
Upgrading dependencies can be a complex and time-consuming task. Starting with
Android Studio Panda 2, the AI agent automates and simplifies the dependency
upgrade process, eliminating tedious work and improving project maintainability.
With just a few clicks, you can seamlessly upgrade all your
dependencies and get the benefits of the latest versions, so you can focus on
building high-quality apps.
Update libraries from the version catalog.
To update dependencies using the AI agent, do one of the following:
Click Refactor (or right-click in the editor or project view) > Update
dependencies.
In the libs.versions.toml file, hover over a version that is underlined,
click the Show Context Actions
menu that appears, and then click Update all libraries with Gemini.
Throughout the process, the agent provides a high-level overview of its upgrade
plan so you can monitor progress step by step and review all changes before
applying them. The agent iterates through the build process, resolving any build
errors that arise from the upgrades. You can review, accept, or roll back
changes, and you can stop the agent at any point.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-03-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-03 UTC."],[],[]]