New Features in Gemini for Android Studio

New Features in Gemini for Android Studio

Welcome back to your newsletter!

谷歌 has released significant updates to Gemini in Android Studio, introducing several AI-powered tools designed to assist developers throughout the development lifecycle.

Let's discover how these updates can help improve your coding.

New AI Coding Features

Gemini now includes features that help with writing, refactoring, and documenting code. These updates are designed to streamline the development process:

  • Gemini Code Transforms: Modify and refactor code using custom prompts, speeding up code edits.


Source: Google Android Developers Blog

  • Commit Message Generation: Automatically generate commit messages based on code changes to simplify version control.


Source: Google Android Developers Blog

  • Rethink and Rename: Suggest names for classes, methods, and variables, making code more readable.


Source: Google Android Developers Blog

  • Prompt Library: Save and reuse commonly used prompts for faster coding.
  • Generate Documentation: Automatically create documentation for code snippets with a simple right-click.

These features are intended to help developers focus more on writing code and less on repetitive tasks.

AI for UI Design


Source: Google Android Developers Blog

Gemini has also integrated AI into the UI design process, particularly with Jetpack Compose. Now, Gemini can auto-generate composable previews using relevant context, reducing the time spent manually creating mock data. This makes it easier to visualise UI components during the design phase.

Additionally, Gemini is exploring multimodal support, which will soon allow developers to use images as context when designing user interfaces.

Improving App Quality

Gemini’s updates also focus on enhancing app quality and testing. New AI tools aim to help developers identify and fix issues quicker:

  • Unit Test Scenario Generation: Gemini generates unit test scenarios based on local code context, improving test coverage.
  • Build and Sync Error Insights: Provides insights into build and sync errors to help resolve issues faster.
  • Crash Analysis: Gemini offers suggestions for fixing crashes identified through Android Vitals and Firebase Crashlytics, using local code context to improve accuracy.

These features are designed to help developers release more stable apps and reduce bug reports.

Availability and Next Steps

The new features are available in the Android Studio canary channel, with plans to roll out in the stable channel by December.

Developers need to opt in to enable Gemini’s features, ensuring no source code is sent to external servers without consent.


?? Hot Jobs by develop ??

Senior Data Architect

Senior Android Engineer

Lead Cloud Engineer

Senior Ecommerce Product Manager

Senior PHP Developer

See More

?? Our Social Stories ??

Life at develop feat a game of Articulate

Celebrating Women at developrec

This Black Friday, skip the deals!


Are you following us?

Click here to be the first to get our updates!

要查看或添加评论,请登录