Gemini in
Android Studio
Armando Picón
Android Engineer @ SoftServe
Slide 2
Slide 2 text
What’s Gemini?
Gemini is a Large Language
Model (LLM) designed for various
tasks like writing, planning, and
learning.
- Multimodal
- General-purpose
- Flexible
Slide 3
Slide 3 text
What’s Gemini in Android Studio?
AI-powered coding companion
directly integrated into Android
Studio. It’s designed to make
Android development faster,
more efficient, and less prone to
errors.
Slide 4
Slide 4 text
What can I do with Gemini in Android Studio?
● Generate code
● Answer questions
● Find resources
● Analyze Crash Reports
Slide 5
Slide 5 text
Requirements
● Android Studio Jellyfish
Slide 6
Slide 6 text
How it works?
LLM
Slide 7
Slide 7 text
How it works?
LLM
Slide 8
Slide 8 text
So, is my code sent to Gemini?
Slide 9
Slide 9 text
It depends…
Slide 10
Slide 10 text
Data and privacy
● Global settings
● Choose different options for
each project
● Source-code level
restrictions
Source: https://developer.android.com/studio/preview/gemini/data-and-privacy
Slide 11
Slide 11 text
Data and privacy
● Global settings
● Choose different options
for each project
● Source-code level
restrictions
Source: https://developer.android.com/studio/preview/gemini/data-and-privacy
Slide 12
Slide 12 text
Data and privacy
● Global settings
● Choose different options for
each project
● Source-code level
restrictions
Source: https://developer.android.com/studio/preview/gemini/data-and-privacy
Slide 13
Slide 13 text
…and nope! Github Copilot doesn’t count
with these options
Slide 14
Slide 14 text
Now!
Show me Gemini in Android Studio
Slide 15
Slide 15 text
I/O24 - Gemini in Android Studio
Slide 16
Slide 16 text
Final Thoughts
● Not for newbies / juniors
● Useful for routinary tasks
● We won’t be replaced by AI
○ At least not in the short term 😅
● Not suitable for complex
problems
Slide 17
Slide 17 text
References
● Gemini in Android Studio
https://developer.android.com/studio/preview/
gemini
● Data & Privacy
https://developer.android.com/studio/preview/
gemini/data-and-privacy
● Developer Keynote (Google I/O '24)
https://www.youtube.com/watch?v=ddcZnW1
HKUY