การแก้ปัญหา
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
หากพบปัญหาเกี่ยวกับ Gemini ใน Android Studio ให้ทำตาม
ขั้นตอนการแก้ปัญหาในหน้านี้เพื่อดูแนวทางในการแก้ไขปัญหาและรับ
คำตอบที่ดีขึ้นจาก Gemini
ข้อมูลความช่วยเหลืออื่นๆ
เข้าถึงฟีเจอร์ Gemini ไม่ได้
หากคุณอยู่ใน Android Studio และไม่มีสิทธิ์เข้าถึงฟีเจอร์ Gemini ใดๆ ให้ตรวจสอบสิ่งต่อไปนี้
คำตอบมีคุณภาพต่ำ
หากพบว่าคำตอบของ Gemini ไม่เป็นประโยชน์เท่าที่คาดไว้ ให้ลองทำดังนี้
- ช่วยให้ Gemini เข้าใจบริบทของคำถามได้ดียิ่งขึ้นและระบุไฟล์ที่ต้องอัปเดตโดยแนบไฟล์ไปกับคำถาม
- หากคุณใช้ฟีเจอร์แชทมาตรฐานของ Gemini ให้ลองใช้โหมดตัวแทน โหมด Agent
สามารถจัดการงานที่เกี่ยวข้องกับไฟล์หลายไฟล์และทำได้มากกว่าที่แชท
เพียงอย่างเดียวจะทำได้
- หากใช้โหมดตัวแทนอยู่แล้ว ให้ขยายหน้าต่างบริบทโดยเพิ่มคีย์ API
- ลองอัปเกรดเป็นระดับธุรกิจ ซึ่งมีโมเดล Gemini 2.5
Pro เป็นค่าเริ่มต้น และให้คุณปรับแต่งคำตอบให้เหมาะกับความต้องการของทีมได้ดียิ่งขึ้น
ดูข้อมูลเพิ่มเติมได้ที่การเปรียบเทียบฟีเจอร์
คำตอบไม่ได้รวมถึงคู่มือสไตล์หรือนโยบายของทีมเรา
สร้างกฎ
เพื่อให้ Gemini พิจารณาเมื่อตอบพรอมต์ของคุณ เพื่อช่วยให้ Gemini เข้าใจแนวทางปฏิบัติของทีมได้ดียิ่งขึ้น เช่น คู่มือรูปแบบการเขียนโค้ดหรือค่ากำหนดของไลบรารีของบุคคลที่สาม
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-31 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 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."]]