Gemini in Android Studio is your AI powered coding companion and it's getting the biggest set of updates since launch. For the first time, Gemini is bringing AI to every stage of the development lifecycle.
Get help with common tasks such as writing, commenting, and documenting code—saving you time and effort.
Ask development questions and receive responses that help you reduce errors, solve problems, and become a better Android developer.
Gemini makes use of your project's context to provide more meaningful responses and suggestions, all in Android Studio.

Over 80% of developers surveyed think Gemini in Android Studio is useful for answering Android development questions.

According to our large scale 2024 Android Developer survey.

Key features to support your development

Feature
AI-enabled autocompletion of code appears as you type in Android Studio. With custom code transformations, Gemini can even directly modify your code according to your instructions.
Feature
Keep your code organized with AI-powered refactoring and documentation features. Let Gemini handle code comments, variable names, commit messages, and more.
Feature
Use Gemini in Android Studio to generate unit test scenarios and analyze crash reports.

Gemini in Android Studio was designed with privacy in mind. By default, Gemini in Android Studio's chat responses are purely based on conversation history, and you control whether you want to share additional context for customized responses. You can also control the data that Gemini can access through a custom .aiexclude file.

Screenshot of .aiexclude config file

“The 'suggest improvement' feature is invaluable for enhancing the code quality by providing insightful suggestions...it truly transforms the coding experience.”

Pankaj Rai Google Developer Expert for Android, Firebase and Machine learning

Boost your productivity with Gemini in Android Studio

Gemini in Android Studio Enterprise (Early access program)