コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Firebase Crashlytics
plat_ios
plat_android
plat_flutter
plat_unity
Apple、Android、Flutter、Unity で動作する強力なクラッシュ レポート ソリューションを使用して、アプリの問題を明確かつ実践的に把握できます。
Firebase Crashlytics は軽量なリアルタイムのクラッシュ レポート ツールであり、アプリの品質を低下させる安定性の問題を追跡し、優先順位を付け、修正するのに役立ちます。Crashlytics は、クラッシュをインテリジェントにグループ化し、クラッシュにつながった状況をあぶり出すことによって、トラブルシューティングの時間を節約します。
特定のクラッシュが多くのユーザーに影響を与えるかどうかを調べたり、問題の重大度が急激に増した場合にアラートを受け取ったりできるほか、コード内でクラッシュの原因となっている行を特定することもできます。
Google Cloud のプラットフォームを選択します。
iOS+
Android
Flutter
Unity
主な機能
キュレーションされたクラッシュ レポート |
Crashlytics は、大量のクラッシュ レポートを管理しやすい問題のリストに整理し、コンテキスト情報を追加するとともに、クラッシュの重大度と蔓延度を示します。これにより、根本原因をより迅速に特定することができます。 |
一般的なクラッシュへの対処 |
Crashlytics ではクラッシュ分析を利用できます。よくある安定性の問題に関する役立つヒントを参照できるほか、問題をトラブルシューティングし、優先順位を付けてスムーズに解決できます。 |
アナリティクスとの統合 |
Crashlytics は、アプリのエラーを Analytics の app_exception イベントとしてキャプチャできます。このイベントを使用することで、クラッシュに至るまでに発生した他のイベントのリストにアクセスできるため、デバッグが容易になります。また、クラッシュしたユーザーの Analytics レポートを取得できるため、オーディエンス分析も可能になります。 |
リアルタイムのアラート |
迅速に確認しなければならない新しい問題、リグレッションの問題、拡大している問題について、リアルタイムでアラートを受け取ることができます。 |
実装パス
|
アプリを接続する |
最初に Firebase コンソールで、アプリに Firebase を追加します。 |
|
SDK を統合する |
CocoaPods、Gradle、または Pub を使用して Crashlytics SDK を追加します。これにより、Crashlytics がレポートの収集を開始します。 |
|
Firebase コンソールでレポートを確認する |
Firebase コンソールにアクセスして、アプリ内の問題の追跡、優先順位付け、修正を行います。 |
Crashlytics はクラッシュをどのように分析してデバッグを容易にしていますか?
Crashlytics は、アプリに関する指標とレポートを提供するため、クラッシュ、致命的でない例外、その他のイベントタイプをアプリから収集して分析します。アプリのビルドのマッピング情報を使用して、人が読める形式のクラッシュ レポートを作成し、イベントの理解を支援します(たとえば、Apple プラットフォームのアプリではデバッグ シンボル(dSYM)ファイルを使用します)。
Crashlytics はイベントを受信すると、分析エンジンを使用して関連イベントを問題にグループ化します。分析エンジンは、スタック トレース内のフレーム、例外メッセージ、エラーコード、その他のプラットフォームやエラータイプの特性を調べて、イベントを問題にグループ化します。一つの問題の中のすべてのイベントには共通の障害点があります。より多くの受信イベントが問題と一致すると、Crashlytics ダッシュボードにあるアプリの [問題] テーブルの上部に問題が表示されます。このグループ化とランキングにより、最も影響の大きい問題をより迅速に特定して修正できます。
ただし、このイベント グループ内でも、障害点につながるスタック トレースが異なる場合があります。また、スタック トレースが異なる場合は、根本原因が異なる可能性があります。1 つの問題の中のこの違いを表現するため、Crashlytics は問題の中にバリアントを作成します。個別のバリアントは、1 つの問題の中に含まれ、同じ障害点と類似のスタック トレースを持つイベントのサブグループです。バリアントによって、問題の中の最も一般的なスタック トレースをデバッグし、異なる根本原因によって障害が発生しているかどうかを判断できます。
次のステップ
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-08 UTC。
[null,null,["最終更新日 2025-08-08 UTC。"],[],[],null,["Firebase Crashlytics \nplat_ios plat_android plat_flutter plat_unity \nGet clear, actionable insight into app issues with this powerful crash reporting solution for Apple, Android, Flutter, and Unity. \n\nFirebase Crashlytics is a lightweight, realtime crash reporter that helps\nyou track, prioritize, and fix stability issues that erode your app quality.\nCrashlytics saves you troubleshooting time by intelligently grouping crashes\nand highlighting the circumstances that lead up to them.\n\nFind out if a particular crash is impacting a lot of users. Get alerts when an\nissue suddenly increases in severity. Figure out which lines of code are causing\ncrashes.\n\n\u003cbr /\u003e\n\nReady to get started? Choose your platform:\n\n[iOS+](/docs/crashlytics/get-started?platform=ios)\n[Android](/docs/crashlytics/get-started?platform=android)\n[Flutter](/docs/crashlytics/get-started?platform=flutter)\n[Unity](/docs/crashlytics/get-started?platform=unity)\n\nKey capabilities\n\n|----------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Curated crash reports | Crashlytics synthesizes an avalanche of crashes into a manageable list of issues, provides contextual information, and highlights the severity and prevalence of crashes so you can pinpoint the root cause faster. |\n| Cures for the common crash | Crashlytics offers Crash Insights, helpful tips that highlight common stability problems and provide resources that make them easier to troubleshoot, triage, and resolve. |\n| Integrated with Analytics | Crashlytics can capture your app's errors as `app_exception` events in Analytics. The events simplify debugging by giving you access a list of other events leading up to each crash, and provide audience insights by letting you pull Analytics reports for users with crashes. |\n| Realtime alerts | Get realtime alerts for new issues, regressed issues, and growing issues that might require immediate attention. |\n\nImplementation path\n\n|---|----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|\n| | Connect your app | Start by adding Firebase to your app in the [Firebase console](//console.firebase.google.com/). |\n| | Integrate the SDK | Add the Crashlytics SDK via CocoaPods, Gradle, or Pub, and Crashlytics starts collecting reports. |\n| | Check reports in the [Firebase console](https://console.firebase.google.com/project/_/crashlytics) | Visit the [Firebase console](https://console.firebase.google.com/project/_/crashlytics) to track, prioritize, and fix issues in your app. |\n\nHow does Crashlytics analyze your crashes for easier debugging?\n\nTo provide metrics and reports about your app, Crashlytics collects and\nanalyzes crashes, non-fatal exceptions, and other event types from your app. We\nuse the mapping information for your app's build to create human-readable crash\nreports to help you understand the events (for example, we use the\n[debug symbol (dSYM) files](https://developer.apple.com/documentation/xcode/building-your-app-to-include-debugging-information)\nfor Apple platform apps).\n\nWhen Crashlytics receives events, it uses an analysis engine to group\nrelated events into ***issues*** . The analysis engine looks at the frames in\nthe stack trace, exception message, error code, and other platform or\nerror type characteristics to group events into issues. In an issue, all events\nhave a common point of failure. As more incoming events match to an issue, the\nissue rises towards the top of your app's *Issues* table in the Crashlytics\ndashboard. This grouping and ranking helps you identify and fix the most\nimpactful problems faster.\n\nYet even within this group of events, the stack traces leading to the\npoint-of-failure might be different. And a different stack trace could mean a\ndifferent root cause. To represent this possible difference within an issue,\nCrashlytics creates ***variants*** within issues --- each variant is a\nsub-group of events in an issue that have the same failure point *and* a\nsimilar stack trace. With variants, you can debug the most common stack traces\nwithin an issue and determine if different root causes are leading to the\nfailure.\n\nNext steps\n\n- [Get started with Firebase Crashlytics](/docs/crashlytics/get-started)\n --- Learn how to add Firebase Crashlytics to an Apple, Android,\n Flutter, or Unity project.\n\n-\n [Customize your crash report setup](/docs/crashlytics/customize-crash-reports)\n by adding opt-in reporting, logs, keys, and tracking of non-fatal errors.\n\n-\n [Integrate with Google Play](/docs/crashlytics/integrate-with-google-play) so that\n you can filter your Android app's crash reports by Google Play track directly in the\n Crashlytics dashboard. This allows you to better focus your dashboard on specific builds."]]