# Gemini in Android Studio > Gemini in Android Studio is Google's AI-powered coding companion built into the Android Studio IDE, helping Android developers write code, generate UIs, analyze crashes, and run multi-step agentic tasks. Gemini in Android Studio is Google's AI-powered coding companion built directly into the Android Studio IDE. It helps Android developers write code, fix bugs, generate UI from wireframes, analyze crashes, and execute multi-step development tasks through its Agent Mode. Powered by Gemini 2.5 Pro, it integrates natively with Android Studio features like Logcat, App Quality Insights, Jetpack Compose, and Gradle to provide context-aware assistance without leaving the IDE. The tool is available in a no-cost tier suitable for freelancers, students, and hobbyists, and paid business tiers offered through Gemini Code Assist subscriptions. The free tier includes a lightweight version of Gemini 2.5 Pro with a smaller context window. Business tiers unlock the full 1M token context window, IP indemnification, VPC Service Controls, and integrations with Firebase, Colab Enterprise, BigQuery, and Cloud Run. The Enterprise tier adds customized code suggestions trained on private codebases in GitHub, GitLab, or Bitbucket. Agent Mode handles complex, multi-file tasks: the developer describes a goal such as generating unit tests, altering UI, or fixing errors, and the agent formulates an execution plan, suggests edits, and iteratively fixes bugs while the developer reviews and guides. Agent Mode supports MCP servers, AGENTS.md files, and user-provided Gemini API keys for extended workflows. The tool also provides code completion, code transformation, variable name rethinking, commit message generation, automatic code documentation, Compose preview generation, and UI transformation from attached images. A `.aiexclude` configuration file lets developers control what project data Gemini can access. In the no-cost tier, code and inputs are used only for the active session; paid tiers add enterprise controls ensuring code, inputs, and responses are never used for model training. ## Features - Agent Mode for multi-file, multi-step development tasks - MCP server support in Agent Mode - AGENTS.md file support for agent instructions - Chat with file and image attachments - Prompt Library for saving and reusing prompts - Code completion powered by Gemini 2.5 Pro - Code transformation and refactoring - Rethink variable names - Unit test scenario generation - Functional testing with Journeys - Document code automatically - Generate Git commit messages - Generate Jetpack Compose previews - Generate UI from attached wireframe or mockup images - Transform UI via natural language - Analyze crashes via App Quality Insights integration - Analyze runtime errors via Logcat integration - Use local or remote custom models - .aiexclude file for context and privacy control - Bring-your-own Gemini API key for per-token usage ## Integrations Android Studio, Gemini Code Assist, Jetpack Compose, Gradle, Logcat, App Quality Insights, Firebase, Colab Enterprise, BigQuery, Cloud Run, Database Studio, GitHub, GitLab, Bitbucket, MCP servers, Google Developer Program ## Platforms WINDOWS, MACOS, LINUX ## Pricing Freemium — Free tier available with paid upgrades ## Version Android Studio Panda 1 | 2025.3.1 Patch 1 ## Links - Website: https://developer.android.com/gemini-in-android - Documentation: https://developer.android.com/studio/gemini/overview - EveryDev.ai: https://www.everydev.ai/tools/gemini-in-android