Gratitude’s developers released 2X the amount of innovative experiments with the help of Gemini in Android Studio



Gratitude’s AI image generation feature, built in record time with the help of Gemini in Android Studio
Unlocking new efficiencies with Gemini in Android Studio
The Gratitude team decided to try Gemini in Android Studio, an AI assistant that supports developers throughout all stages of development, helping them be more productive. Developers can ask Gemini questions and receive context-aware solutions based on their code. Divij Gupta, senior Android developer at Gratitude, shared that the Gratitude team needed to know if it was possible to inject any object into a Kotlin object class using Hilt. Gemini suggested using an EntryPoint to access dependencies in classes where standard injection isn’t possible, which helped solve their “tricky problem,” according to Divij.
Gemini eliminated the need to search for Android documentation as well, enabling the Gratitude team to learn and apply their knowledge without having to leave Android Studio. “Gemini showed me how to use Android Studio’s CPU and memory profilers more effectively,” recalled Divij. “I also learned how to set up baseline profiles to speed up cold starts.”

Experimenting with new features using Gemini in Android Studio
Gemini in Android studio helped the Gratitude team significantly improve their development speed and morale. “This faster cycle has made the team feel more productive, motivated, and excited to keep innovating,” said Divij. Developers are able to spend more time ideating and experimenting on new features, leading to innovative new experiences.
One feature the developers built with their new found time is an image generation function for the app’s vision boards feature. Users can now upload a photo with a prompt, and then receive an AI-generated image that they can instantly pin to their board. The team was able to build the UI using Gemini in Android Studio’s Compose Preview Generation — allowing them to quickly visualize their Jetpack Compose code and craft the pixel-perfect UI their designers intended.
Going forward, the Gratitude team is looking forward to using Gemini to implement more improvements to its code, including correcting glitches, memory leaks, and improving performance based on more insights from Gemini, which will further improve user experience.

Build with Gemini in Android Studio
You Might Also Like
How To Launch Your Clothing Brand Side Hustle on Etsy With Zero Upfront Costs
Have you ever thought of starting your own clothing brand but felt held back by the cost? Maybe you thought...
Android 16 QPR2 Beta 2 is Here
Android 16 QPR2 has released Platform Stability today with Beta 2! That means that the API surface is locked, and...
How To Start a Print On Demand Side Hustle With $0
Do you want to start your own online side hustle, but don’t want to spend any money upfront? I get...
Meet the people using Google AI to solve problems in agriculture, education, and pet care
Posted by Robbie McLachlan - Developer Marketing In our latest #WeArePlay stories, we meet the people using Google AI to...