[ Web Proxy ]
URL:
Viewing: https://developer.android.com/studio/gemini/chat [Back]  [Original]

Chat with Gemini  |  Android Studio  |  Android Developers Skip to main content
Essentials Design & Plan Develop Google Play Blog
Search:
Android Studio
Android Developers [Android Developers]

Chat with Gemini Stay organized with collections Save and categorize content based on your preferences.

Tip: Starting with Android Studio Narwhal Feature Drop, Gemini in Android Studio has Agent Mode. Agent Mode can handle complex tasks that span multiple steps and files, going beyond what you can do with chat alone.

The main interface for interacting with Gemini is the chat window. You can use it to ask questions ranging from very open-ended ones to specific problems that you need help with.

Here are some examples of things you might ask; however, we encourage you to experiment with any topics related to Android development:

Gemini remembers the context of the conversation, so you can also ask it follow-up questions, such as:

Gemini in Android Studio is uniquely equipped to answers questions about a specific capability or workflow in the Studio IDE, for example:

Show query history

Your queries to Gemini in Android Studio are saved for every coding session in Android Studio. To see your previous queries, click Show Query History Show Query History icon [Show Query History icon] in the Gemini chat box. A menu appears with all the queries you've submitted in this coding session.

The Gemini query history menu showing previous queries. [The Gemini query history menu showing previous queries.] Figure 1: The Gemini query history menu showing previous queries.

To re-submit a previous query, click the query to paste it in the chat box and click Submit.

When you quit Android Studio, the query history is cleared. To save and manage commonly used prompts across coding sessions, use the Prompt Library.

Clear conversation history

Gemini remembers your previous chats and is able to use them as context for your conversation. If your chat history is no longer relevant to what you're trying to achieve, reset the chat history by clicking Clear Conversation History Clear Conversation History icon [Clear Conversation History icon] in the Gemini pane.

Manage multiple conversation threads

You can organize your conversation with Gemini in Android Studio into multiple threads. This lets you switch between multiple ongoing tasks and search through your conversation history. Using separate threads for each task also improves response quality by limiting the scope of the AI's context to only the topic at hand.

To start a new thread, click New Chat The New Chat plus sign. [The New Chat plus sign.]. To see your conversation history, click Recent Chats The Recent Chats word
bubble. [The Recent Chats word bubble.].

A list of recent chat topics. [A list of recent chat topics.] See all the topics you've previously chatted about.

Your conversation history is saved to your account, so if you have to sign out or switch accounts you can resume right where you left off when you come back.

Next steps

To continue learning about Gemini in Android Studio, consider the following:

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-09-10 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-09-10 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page