Firebase의 Gemini에서 제공하는 Crashlytics의 AI 지원을 사용하면 비정상 종료가 발생한 이유와 해결 방법을 파악하는 데 걸리는 시간을 단축할 수 있습니다. Crashlytics의 AI 지원은 근본 원인을 파악하고, 활용 가능한 분석 정보와 맞춤형 솔루션을 제공하며, 향후 권장사항을 제공합니다.
Crashlytics의 AI 지원은 다음과 같은 통계를 제공할 수 있습니다.
요약/원인: 사용자에게 발생한 문제와 문제의 원인에 대한 간결하면서도 풍부한 정보를 제공하는 설명입니다.
디버깅 옵션: Gemini는 오류를 재현하는 몇 가지 방법 또는 근본 원인을 파악하기 위해 문제를 추가로 디버깅하는 다음 단계를 제공합니다.
Gemini는 시도할 추천 명령어 또는 사용할 코드를 제공합니다(주의해서 사용).
다음 단계: Gemini가 처음에는 문제의 컨텍스트를 모두 파악하지는 못하나 Crashlytics의 AI 지원 기능은 모바일 앱 개발에 관한 Firebase의 풍부한 지식을 활용하여 가능하면 몇 가지 잠재적인 해결 경로를 추천하고 더 심층적인 인사이트를 얻기 위해 컨텍스트와 소스 코드를 추가할 수 있는 기능을 제공합니다.
권장사항: 이상적으로 분류 프로세스의 일부는 이러한 유형의 문제가 재발하지 않도록 앱의 미래 경쟁력을 확보하는 것입니다.
Gemini는 수천 페이지 분량의 Firebase 문서 등을 참조하여 문제를 해결할 수 있는 가능한 접근 방식을 제공합니다.
조사하려는 비정상 종료를 찾아 선택합니다. 다음 중 하나 이상이 있는 통계가 포함된 Crashlytics 이벤트 페이지가 표시됩니다.
가능한 원인과 함께 비정상 종료에 대한 분석
디버깅 안내
실행 가능한 다음 단계
권장사항
이벤트 페이지 상단에 Crashlytics의 AI 지원 기능이 표시되지 않으면 Firebase의 Gemini가 사용 설정되었는지 확인하세요(설정 안내는 Firebase의 Gemini 설정 참조).
또한 비정상 종료 또는 ANR 이벤트가 보여야 합니다. 심각하지 않은 이벤트는 아직 지원되지 않습니다.
더 자세한 통계를 얻기 위해 코드와 컨텍스트를 제공하려면 더 자세한 통계를 원하시나요? 상자에서 시작하기를 클릭합니다.
Firebase의 Gemini가 요청하는 코드를 코드 필드에 붙여넣습니다.
AI 인사이트를 개선하는 데 도움이 될 수 있는 추가 컨텍스트나 세부정보가 있으면 컨텍스트 또는 관련 세부정보 공유 필드에 추가하세요.
AI 통계 재생성을 클릭합니다.
Firebase의 Gemini는 제공된 코드와 컨텍스트를 기반으로 업데이트된 통계를 생성합니다.
[null,null,["최종 업데이트: 2025-08-12(UTC)"],[],[],null,["\u003cbr /\u003e\n\nUse AI assistance in Crashlytics provided by\n[Gemini in Firebase](/docs/gemini-in-firebase) to help speed up the\ntime it takes for you to understand why a crash happened and what to do\nabout it. AI assistance in Crashlytics identifies root causes, delivers\nactionable insights and tailored solutions, and recommends best practices going\nforward.\n\nAI assistance in Crashlytics can provide you with the following insights:\n\n- **Summary/Cause**: A concise but information-rich explanation of what happened to the user and what caused the issue.\n- **Debugging options:** Gemini will offer a few potential ways to either reproduce the error or will provide next steps to further debug the issue to identify a root cause. Gemini can provide recommended commands to try or code to use ([with caution](https://support.google.com/legal/answer/13505487)).\n- **Actionable next steps:** While Gemini won't initially have all of the context about your issue, AI assistance in Crashlytics will use Firebase's wealth of knowledge on mobile app development to recommend a few potential resolution paths whenever possible and provide you with the ability to add additional context and source code to get more in-depth insights.\n- **Best Practices:** Part of the triage process is, ideally, future-proofing your app so these types of issues don't recur. Gemini references thousands of pages of Firebase documentation (and more) to provide you with possible approaches to resolve the issue.\n\n| **Note:** AI assistance in Crashlytics is available for crashes and ANRs. It is not yet available for non-fatal events.\n\nHow AI assistance in Crashlytics uses your data\n\nSee [How Gemini in Firebase uses your\ndata](/docs/gemini-in-firebase#how-gemini-in-firebase-uses-your-data) for more\ninformation about how Gemini in Firebase uses your data.\n\nRequired permissions\n\nTo enable and use features of Gemini in Firebase requires certain IAM roles\nand permissions.\n\n- Project members with the [owner or editor IAM role](/docs/projects/iam/roles-basic) can enable Gemini in Firebase and use its features.\n- Project viewers cannot enable Gemini in Firebase, but they can use its features, including [Gemini in Firebase chat](/docs/gemini-in-firebase/try-gemini), help, and [AI assistance in Crashlytics](/docs/crashlytics/ai-assistance) *if they are assigned the Gemini for Google Cloud User role*.\n- **If the project is part of Google Workspace (formerly G Suite)**, a Google Workspace administrator must enable it.\n\nHere's how to assign the Gemini for Google Cloud User role to a project\nmember. Note that only project owners can edit IAM roles.\n\n1. From the Firebase console, select settings [**Project settings**](//console.firebase.google.com/project/_/settings/general/), then select **Users and permissions**.\n2. Find the row for the applicable project member.\n3. Click more_vert **More options** , then select **Edit access.**\n4. Expand **Role(s)** , select **Gemini for Google Cloud User** , then click **Done**.\n5. Click **Update roles** to save the change. It may take a minute or two for the new role to apply to your user.\n\n| **Note:** If using Gemini in Firebase with a Gemini Code Assist subscription, a license must be assigned to each user. Learn more at [Assign Gemini Code Assist\n| licenses](/docs/gemini-in-firebase/set-up-gemini#assign-code-assist-licenses).\n\nSet up AI assistance in Crashlytics\n\nTo set up AI assistance in Crashlytics, enable Gemini in Firebase as\ndescribed in [Set up\nGemini in Firebase](/docs/gemini-in-firebase/set-up-gemini), then\nproceed to [Generate insights](#generate-insights).\n\nGenerate insights\n\nTo use AI assistance in Crashlytics to generate insights about your crashes:\n\n1. Open the [Crashlytics\n dashboard](https://console.firebase.google.com/project/_/crashlytics) in\n your project and select your app.\n\n2. Locate and select a crash you want to investigate. The Crashlytics event\n page appears, including insights with one or more of the following:\n\n - an analysis of the crash with a possible cause\n - debugging instructions\n - actionable next steps\n - best practices\n\n If you don't see the AI assistance in Crashlytics feature at the top of the\n event page, verify that Gemini in Firebase has been enabled (for setup\n instructions, see\n [Set up Gemini in Firebase](/docs/gemini-in-firebase/set-up-gemini)).\n Also, make sure that you're viewing a crash or ANR event. Non-fatal events\n are not yet supported.\n3. If you want to provide code and context to obtain deeper insights, click\n **Get started** in the **Want deeper insights?** box.\n\n4. Paste the code that Gemini in Firebase requests into the code field.\n\n5. If you have more context or additional details to share that might help\n improve AI insights, add it to the **Share any context or relevant\n details** field.\n\n6. Click **Regenerate AI insights**.\n\n Gemini in Firebase generates updated insights based on your\n provided code and context.\n\n \u003cbr /\u003e\n\n| **Important:** AI assistance in Crashlytics is an early-stage technology that can generate output that seems plausible but is factually incorrect. It may respond with inaccurate information that doesn't represent Google's views. Validate all output from Gemini before you use it and do not use untested generated code in production. Do not log personally-identifiable information (PII) through Crashlytics APIs. For more information, see [How\n| AI assistance in Crashlytics uses your\n| data](/docs/crashlytics/ai-assistance#governance) and [Gemini in Google Cloud and responsible\n| AI](https://cloud.google.com/duet-ai/docs/discover/responsible-ai).\n\nTroubleshoot AI assistance in Crashlytics\n\nRefer to [Troubleshoot\nGemini in Firebase](/docs/gemini-in-firebase/set-up-gemini#troubleshoot-gemini-in-firebase).\n\nQuotas and pricing\n\nThis section describes the quotas and pricing structure for\nAI assistance in Crashlytics.\n\nQuotas and limits\n\nAI assistance in Crashlytics quotas are included as part of the\nGemini for Google Cloud API quotas that Gemini in Firebase uses.\n\nYou can view your current quotas on the\n[Quotas page for the Gemini for Google Cloud API](https://console.cloud.google.com/apis/api/cloudaicompanion.googleapis.com/quotas?project=_):\n\n1. From the [Google Cloud console](https://console.cloud.google.com), select **Enabled APIs \\& services**.\n2. Search for, then click **Gemini for Google Cloud API**.\n3. Click **Quotas \\& system limits**.\n\nGemini for Google Cloud API quotas appear. AI assistance in Crashlytics uses the\n\"Chat API requests per day per user\" quota.\n\nTo request a quota increase:\n\n1. Select the quota you want to increase, and click **Edit request**.\n2. Update the **New value** text field with the quota you'd like to request, then click **Submit** . The Google Cloud team will evaluate your request and respond by email.\n\nPricing\n\nAI assistance in Crashlytics is available as part of Gemini in Firebase,\nwhich is included for individual users at no-cost or with a\nGemini Code Assist subscription.\n\nSee [Gemini in Firebase pricing](/docs/gemini-in-firebase#pricing) for more\ninformation."]]