Troubleshooting
Stay organized with collections
Save and categorize content based on your preferences.
If you encounter an issue with Gemini in Android Studio, go through the
troubleshooting steps on this page for ideas on how to fix the issue and get
better responses from Gemini.
Other resources:
- Check the known issues to see if an issue that the Android Studio team is
already aware of.
- If the issue persists, consider filing a bug.
Can't access any Gemini features
If you're in Android Studio and don't have access to any Gemini features,
check the following:
Responses are low quality
If you find that Gemini's responses aren't as helpful as you'd expect, try the
following:
- Help Gemini better understand the context for your question and identify the
files that need to be updated by attaching files to your query.
- If you're using Gemini's standard chat feature, try agent mode. Agent
mode can tackle tasks that involve multiple files and goes beyond what chat
alone can do.
- If you're already using agent mode, expand the context window by
adding an API key.
- Consider upgrading to the business tier, which includes the Gemini 2.5
Pro model by default and lets you customize responses to better suit your team
needs. For more information, see Feature comparison.
Responses don't incorporate our team's style guide or policies
To help Gemini better understand your team's practices, such as a coding style
guide or third party library preferences, create rules
for Gemini to take into account when responding to your prompts.
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 2025-07-31 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 2025-07-31 UTC."],[],[],null,["# Troubleshooting\n\nIf you encounter an issue with Gemini in Android Studio, go through the\ntroubleshooting steps on this page for ideas on how to fix the issue and get\nbetter responses from Gemini.\n\nOther resources:\n\n- Check the [known issues](/studio/known-issues) to see if an issue that the Android Studio team is already aware of.\n- If the issue persists, consider [filing a bug](/studio/report-bugs).\n\nCan't access any Gemini features\n--------------------------------\n\nIf you're in Android Studio and don't have access to any Gemini features,\ncheck the following:\n\n- The Android Studio version you're using supports Gemini. For the most reliable experience, download the [latest stable version of Android Studio](/studio). Be aware of the [Android Studio and Cloud services compatibility policy](/studio/releases#service-compat).\n- You are [logged in to Android Studio](/studio/intro#sign-in).\n\nResponses are low quality\n-------------------------\n\nIf you find that Gemini's responses aren't as helpful as you'd expect, try the\nfollowing:\n\n- Help Gemini better understand the context for your question and identify the files that need to be updated by [attaching files to your query](/studio/gemini/attach-file).\n- If you're using Gemini's standard chat feature, try [agent mode](/studio/gemini/agent-mode). Agent mode can tackle tasks that involve multiple files and goes beyond what chat alone can do.\n- If you're already using agent mode, expand the context window by [adding an API key](/studio/gemini/add-api-key).\n- Consider upgrading to the [business tier](/studio/gemini/get-started-businesses), which includes the Gemini 2.5 Pro model by default and lets you customize responses to better suit your team needs. For more information, see [Feature comparison](/studio/gemini/feature-comparison).\n\nResponses don't incorporate our team's style guide or policies\n--------------------------------------------------------------\n\nTo help Gemini better understand your team's practices, such as a coding style\nguide or third party library preferences, create [rules](/studio/gemini/rules)\nfor Gemini to take into account when responding to your prompts."]]