데이터 및 개인 정보 보호
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 스튜디오의 Gemini는 사용자의 개인 정보 보호를 염두에 두고 만들어졌습니다.
Google은 코드의 개인 정보 보호가 개발자의 신뢰를 얻고 유지하는 데 매우 중요하다는 점을 잘 알고 있습니다. Android 스튜디오의 Gemini는 사용자의 동의 없이 코드가 컴퓨터를 벗어나지 않도록 설계되었습니다. 코드 컨텍스트를 제공하면 Gemini가 이 추가 컨텍스트를 사용하여 질문에 더 나은 답변을 제공합니다. 공유되는 데이터는 사용자가 완전히 관리할 수 있습니다.
Google은 투명성을 통해 신뢰를 얻을 수 있다고 생각합니다. 이 페이지에서는 데이터 사용 방식을 관리하기 위한 Google의 AI 약속, 학습 철학, 기술적 관리 조치를 간략하게 설명합니다.
Google의 보증
Gemini는 Google의 AI 원칙을 염두에 두고 구축되었습니다. 이러한 원칙은 책임감 있게 AI 기술을 개발하겠다는 Google의 약속을 설명합니다.
또한 Android 스튜디오에서 Gemini를 사용할 때 Google은 Google 개인정보처리방침 및 Gemini 개인정보처리방침에 따라 데이터를 처리합니다. Gemini Code Assist를 구독하여 비즈니스용 Android 스튜디오에서 Gemini를 사용하는 경우 Google은 Google Cloud 개인정보처리방침에 따라 데이터를 처리합니다.
데이터 수집 및 사용
명시적 동의 없이 코드가 Gemini와 공유되지 않습니다. 컨텍스트 인식 기능을 사용 설정하기 위해 Gemini와 코드를 공유하여 Gemini가 프로젝트별 응답을 제공할 수 있도록 할 수 있습니다.
데이터가 수집되고 사용되는 방식은 다음과 같습니다.
- 좋아요 및 싫어요 신호와 같은 의견 데이터는 Gemini를 학습시키는 데 사용될 수 있습니다.
- 개인용 Android 스튜디오에서 Gemini를 사용하는 경우 채팅 환경에 명시적으로 입력한 코드가 Gemini를 학습하는 데 사용될 수 있습니다. 상황 인식 기능을 선택하면 코드 등 수집된 정보가 머신러닝 기술과 같은 Google 제품 및 서비스를 개선하는 데 사용될 수 있습니다. 자세한 내용은 개인정보처리방침을 참고하세요.
- 비즈니스용 Android 스튜디오에서 Gemini를 사용하는 경우 채팅 환경에 입력한 코드는 Gemini를 학습시키는 데 사용되지 않습니다. 맥락 인식 기능을 선택하는 경우 코드 등 수집된 정보는 머신러닝 기술과 같은 Google 제품 및 서비스를 개선하는 데 사용되지 않습니다. 자세한 내용은 Google Cloud 개인정보처리방침을 참고하세요.
AI 코드 완성 기능을 사용하도록 선택하면 Google에서 코드베이스의 컨텍스트를 사용하여 고품질 응답을 제공합니다.
컨텍스트 인식 기능을 사용 중지한 상태로 Gemini를 사용할 수 있습니다. 이 경우 기능의 정확도가 떨어지고 ML 기반 코드 완성 등의 일부 기능이 사용 중지됩니다. Android 스튜디오는 File(macOS의 경우 Android 스튜디오) > Settings > Tools > Gemini를 사용하여 사용 설정할 컨텍스트 인식 수준을 조정할 수 있는 내장 개인 정보 보호 설정을 제공합니다. 코드베이스의 특정 부분에 대한 컨텍스트 공유를 차단하려면 .aiexclude 파일로 컨텍스트 공유 구성을 참고하세요.
데이터는 Google에서 제공자를 알 수 없는 방식으로 저장되며 요청 시 삭제할 수 없습니다. 데이터는 최대 18개월 동안 보관됩니다.
자세한 내용은 Gemini 개인정보처리방침을 참고하세요.
제출 및 수신된 데이터
Gemini에 제출되고 Gemini로부터 수신되는 데이터의 유형은 다음과 같습니다.
- 사용 통계: 기능 사용 방식, 리소스 사용량 등 Android 스튜디오 및 관련 도구 사용 방식을 지정하는 데이터입니다. 여기에는 패키지 이름, 클래스 이름, 플러그인 구성과 같은 스튜디오 내부 소프트웨어 식별자가 포함됩니다. File (macOS의 경우 Android Studio) > Settings > Appearance & Behavior > Data Sharing에서 이 공유를 사용 설정하거나 사용 중지할 수 있습니다.
- 프롬프트 및 대답: 분석하거나 완료하기 위해 Gemini에 제출하는 모든 입력 정보나 코드를 포함하여 Gemini에 묻는 질문을 프롬프트라고 합니다. Gemini로부터 받는 답변이나 코드 완성을 대답이라고 합니다.
- 피드백 신호: 좋아요 및 싫어요 투표와 사용자가 제공하는 기타 의견입니다.
- 컨텍스트 (선택사항): Gemini는 코드 조각, 파일 유형, 대규모 언어 모델 (LLM)에 컨텍스트를 제공하는 데 필요할 수 있는 기타 정보와 같은 코드베이스의 추가 정보를 전송할 수 있습니다.
이를 통해 Gemini는 더 높은 품질의 관련성 있는 대답을 제공할 수 있습니다. 또한 이를 통해 Gemini는 AI 코드 완성과 같은 추가 실험적 기능을 제공할 수 있습니다.
개발자 선택
기본적으로 Gemini는 편집기 창의 코드를 볼 수 없으며 챗봇의 프롬프트와 대화 기록만 사용하여 대답합니다. 하지만 코드베이스의 컨텍스트를 공유하도록 선택하여 고품질 응답을 지원하고 AI 코드 완성 등의 실험용 기능에 액세스할 수 있습니다.
Gemini에 컨텍스트를 제공하기 위해 프로젝트의 소스 코드를 공유하는 데 사용되는 세 가지 메커니즘이 있습니다.

전체 설정
Studio에서는 파일 (macOS의 경우 Android Studio) > 설정 > 도구 > Gemini에서 전역 선택 환경설정을 제공하여 컨텍스트 인식을 제공하기 위해 소스 코드를 Gemini 서버로 전송할 수 있는지 여부를 지정합니다.

프로젝트별로 다른 옵션 선택
스튜디오의 Gemini 설정에서 '프로젝트별로 결정하도록 요청'을 선택하면 각 프로젝트를 처음 열 때 해당 프로젝트에 컨텍스트 인식을 사용 설정할지 묻는 대화상자가 표시됩니다. 이 설정은 프로젝트의 .idea
디렉터리에 저장됩니다.

소스 코드 수준 제한사항
프로젝트의 소스 코드 디렉터리에 .aiexclude
파일을 추가하면 AI 모델의 컨텍스트로 사용할 수 있는 파일을 더 세부적으로 제어할 수 있습니다.
.aiexclude 형식에 대해 자세히 알아보기
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 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,["# Data and privacy\n\n**Gemini in Android Studio is built with your privacy in mind.**\n\nWe know that ensuring the privacy of your code is critical to earning and\nmaintaining the trust of our developers. Gemini in Android Studio is designed\nso that your code never leaves your computer without your consent. If you choose\nto provide code context, Gemini uses that additional context to better\nanswer your questions. You have full control over what data is shared.\n\nAt Google, we believe that trust comes from transparency. This page outlines our\nAI commitments, training philosophy, and technical controls to manage how your\ndata is used.\n\u003e **Our assurances**\n\u003e\n\u003e Gemini is built with Google's\n\u003e [AI Principles](https://ai.google/responsibility/principles/)\n\u003e in mind. These principles describe our commitment to developing AI technology\n\u003e responsibly.\n\u003e\n\u003e Additionally, when you use Gemini in Android Studio, Google handles your\n\u003e data in accordance with our\n\u003e [Privacy Policy](https://policies.google.com/privacy) and the [Gemini\n\u003e Privacy Notice](/studio/gemini/privacy-notice). When you use Gemini in\n\u003e Android Studio for businesses by subscribing to Gemini Code Assist, Google\n\u003e handles your data in accordance with the\n\u003e [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice).\n\nData collection and use\n-----------------------\n\nYour code isn't shared with Gemini without your explicit consent. You have the\noption to share your code with Gemini in order to enable context awareness\nfeatures, providing Gemini with the ability to offer project-specific\nresponses.\n\nHere's how your data may be collected and used:\n\n- Your feedback data, such as thumbs up and thumbs down signals, may be used to train Gemini.\n- If you're using Gemini in Android Studio for individuals, the code you explicitly enter into the chat experience may be used to train Gemini. If you opt in to context awareness, the information collected---including code---may be used to improve our products and services, such as machine learning technologies. See our [privacy notice](/studio/gemini/privacy-notice) for more details.\n- If you're using Gemini in Android Studio for businesses, the code you enter into the chat experience is never used to train Gemini. If you opt in to context awareness, the information collected---including code---is never used to improve our products and services, such as machine learning technologies. See the [Google Cloud Privacy Notice](https://cloud.google.com/terms/cloud-privacy-notice) for more details.\n\nIf you opt in to use the AI code completion feature, we use context from your\ncodebase to provide higher quality responses.\n\nYou can use Gemini with context awareness features disabled, with the trade-off\nof less accurate features, and some features disabled such as ML powered code\ncompletion. Android Studio provides built-in privacy controls to adjust the\nlevel of context awareness you want to enable, using **File**\n(**Android Studio** on macOS) \\\u003e **Settings \\\u003e Tools \\\u003e Gemini** . To block context\nsharing for certain portions of your codebase, see [Configure context sharing\nwith .aiexclude files](/studio/gemini/aiexclude).\n\nThe data is stored in a way where Google can't tell who provided it, and it's\nnot possible to delete upon request. The data is retained for up to 18 months.\nFor more information, see the [Gemini Privacy\nNotice](/studio/gemini/privacy-notice).\n\nData submitted and received\n---------------------------\n\nHere are the different types of data submitted to and received from Gemini:\n\n- **Usage statistics:** Data specifying how you use Android Studio and its related tools, such as how you use features and resource usage. This includes software identifiers internal to Studio such as package names, class names, and plugin configuration. You can enable or disable this sharing from **File** (**Android Studio** on macOS) \\\u003e **Settings** \\\u003e **Appearance \\& Behavior** \\\u003e **Data Sharing**.\n- **Prompts and responses:** The questions that you ask Gemini, including any input information or code that you submit to Gemini to analyze or complete, are called prompts. The answers or code completions that you receive from Gemini are called responses.\n- **Feedback signals:** Thumbs up and down votes and any other feedback that you provide.\n- **Context (optional):** Gemini might send additional information from your codebase such as pieces of your code, file types, and any other information that might be necessary to provide context to the Large language Model (LLM). This helps Gemini provide higher quality and relevant responses. This also lets Gemini provide additional experimental capabilities such as AI code completion.\n\nDeveloper choice\n----------------\n\nBy default, Gemini can't see the code in the editor window and only uses the\nprompts and conversation history in the chatbot to respond. However, you can opt\nin to sharing context from your codebase to enable higher quality responses and\naccess to experimental features such as AI code completion.\n\nThere are three mechanisms used to control sharing your project's source code\nfor the purposes of providing context to Gemini:\n\n**Global settings**\n\nStudio's provides a global opt in preference under\n**File** (**Android Studio** on macOS) \\\u003e **Settings \\\u003e Tools \\\u003e Gemini**,\nspecifying whether source code may sent to Gemini servers in order to provide\ncontext awareness.\n\n\u003cbr /\u003e\n\n**Choose different options for each project**\n\nIf \"Ask to decide per project\" is selected in Studio's Gemini settings, a dialog\nis displayed the first time each project is opened asking whether context\nawareness should be enabled for that project. This setting is saved in the\nproject's `.idea` directory.\n\n\u003cbr /\u003e\n\n**Source-code level restrictions**\n\nAdding an `.aiexclude` file into your project's source code directory provides\nmore granular control over which files are eligible to be used as context for AI\nmodels.\n\n[Learn more about the .aiexclude\nformat.](/studio/gemini/aiexclude)\n\n\u003cbr /\u003e"]]