[null,null,["最后更新时间 (UTC):2025-07-31。"],[],[],null,["# Attach a file to your query\n\n| **Preview:** The file attachment feature is in active development and available to try out through [Studio Labs](/studio/gemini/labs).\n\nYou can attach your project files as context in chat interactions with Gemini in\nAndroid Studio. This lets you quickly reference files in your prompts for\nGemini, which helps Gemini identify the files that your query is about.\n\nTo attach a file to your query, in the Gemini chat input, type `@` to bring up a\nfile completion menu. Search for the filename you want and select the file to\nattach it. You can attach multiple files in a single query.\n\nTo un-attach a file, click the **Context** drop-down and press the \"x\" that\nappears when you hover over a file. To un-attach all files at once, click\n**Clear**.\n\nGemini also automatically suggests files to attach as context. To see which\nfiles were suggested by Gemini, click the **Context** drop-down and look under\n**Gemini suggestions**. To de-select or select a suggested file, use the\ncheckbox next to the file."]]