Android 스튜디오의 Gemini는 Logcat 창에서 오류를 이해하고 해결하여 디버깅 프로세스를 간소화합니다. 앱에서 오류나 예외가 발생하면 'Gemini에 묻기' 기능을 사용하여 IDE를 벗어나지 않고도 즉시 설명과 실행 가능한 제안을 받을 수 있습니다.
앱을 실행하고 Logcat 창을 모니터링합니다. 예외나 오류가 발생하면 Android 스튜디오에서 스택 트레이스를 제공합니다.
스택 트레이스 시작 부분에 표시되는 'Gemini에 질문하기' 텍스트를 클릭합니다.
이 작업을 실행하면 분석을 위해 관련 정보가 Gemini 에이전트로 전송됩니다.
Gemini 도구 창이 열리고 자세한 대답이 표시됩니다. 여기에는 일반적으로 오류에 대한 일반적인 언어 요약, 잠재적 원인, 제안된 수정사항이 포함됩니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 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,["# Analyze runtime errors with Logcat and Gemini\n\nGemini in Android Studio helps you understand and resolve errors from the\n[Logcat](/studio/debug/logcat) window, streamlining your debugging process. When\nyour app throws an error or exception, you can use the \"Ask Gemini\" feature to\nget immediate explanations and actionable suggestions without leaving the IDE.\n\n1. Run your app and monitor the Logcat\n\n window. When an exception or error occurs, Android Studio provides the stack\n trace.\n\n2. Click the \"Ask Gemini\" text that appears at the beginning of the stack trace.\n This action sends the relevant information to the Gemini agent for analysis.\n\n3. The **Gemini** tool window opens with a detailed response, which typically\n includes a summary of the error in plain language, potential causes, and\n suggested fixes."]]