برای راه اندازی Gemini، یک پروژه Android Studio را باز یا شروع کنید و روی Gemini کلیک کنید . یا، روی View > Tool Windows > Gemini کلیک کنید.
اگر از قبل وارد سیستم نشده اید، وقتی از شما پرسیده شد، وارد حساب Google خود شوید.
جریان ورود را کامل کنید.
هنگامی که به انتخاب سطح محصول داده می شود، Gemini را برای افراد انتخاب کنید.
برای بهترین نتایج، استفاده از تمام ویژگیهای Gemini را انتخاب کنید تا امکان اشتراکگذاری زمینه پروژه فراهم شود. به طور پیشفرض، این تنظیم برای همه پروژههایی که از Gemini استفاده میکنید اعمال میشود. برای بهروزرسانی تنظیمات یا درخواست پیکربندی اشتراکگذاری زمینه بر اساس پروژه، به تنظیمات Gemini بروید.
پس از انجام این مراحل، کادر چت ظاهر می شود و می توانید شروع به استفاده از Gemini کنید. در هر زمان، میتوانید با بررسی نماد Gemini در پایین Studio IDE، به سرعت بررسی کنید که آیا Gemini فعال است یا خیر.
اگر Gemini فعال باشد، باید Gemini: Active را ببینید .
اگر Gemini غیرفعال است، به احتمال زیاد به این دلیل که از سیستم خارج شده اید، باید Gemini: Inactive را ببینید .
همچنین می توانید برای میانبر تنظیمات Gemini روی نماد کلیک کنید.
مراحل بعدی
بهترین روش ها را برای نکاتی در مورد نحوه استفاده از Gemini ببینید.
برای کسب اطلاعات بیشتر در مورد ویژگی های Gemini، راهنماها را کاوش کنید.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-31 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# Get started with Gemini in Android Studio\n\nTo get started with Gemini in Android Studio, follow these steps:\n\n1. [Download Android Studio](/studio). Note that some features are under active development and only available through [Studio Labs](/studio/gemini/labs) or a [preview version of Android Studio](/studio/preview). See [Features](/studio/gemini/features) to check what version of Android Studio you need for the features you're interested in using.\n2. To launch Gemini, open or start an Android Studio project and click **Gemini** . Alternatively, click **View \\\u003e Tool Windows \\\u003e Gemini**.\n3. Sign in to your Google Account when asked, if you aren't already signed in.\n4. Complete the onboarding flow.\n 1. Select **Gemini for individuals** when given the choice of product tier.\n 2. For the best results, select **Use all Gemini features** to allow project context sharing. By default, this setting applies to all projects that you use Gemini for. To update the setting or request to configure context sharing on a per project basis, go to the [Gemini settings](/studio/gemini/configure-gemini).\n\nAfter completing these steps, the chat box appears and you can start using\nGemini. At any time, you can quickly check whether Gemini is enabled by checking\nthe Gemini icon at the bottom of the Studio IDE:\n\n- If Gemini is enabled, you should see **Gemini: Active** .\n- If Gemini is disabled, most likely because you're signed out, you should see **Gemini: Inactive** .\n\nYou can also click on the icon to shortcut to\n[Gemini's settings](/studio/gemini/configure-gemini).\n\nNext steps\n----------\n\n- See the [best practices](/studio/gemini/best-practices) for tips on how to use Gemini.\n- Explore the [guides](/studio/gemini/chat) to learn more about Gemini's features.\n- Browse the [Prompt Gallery](/studio/gemini/prompt-gallery) for inspiration for what to ask Gemini."]]