-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Crash Reporting with Firebase
Deprecated: The standalone Firebase Crash Reporting SDK (
com.google.firebase:firebase-crash) described on this page has been retired and replaced by Firebase Crashlytics (com.google.firebase:firebase-crashlytics). For current setup instructions, follow the Crash Reporting with Crashlytics guide, which covers the supported Firebase Crashlytics SDK end-to-end.
Firebase Crash Reporting was announced as one of the original features of the rebranded Firebase at Google I/O 2016. It was a Beta product that shipped as the com.google.firebase:firebase-crash Android library, exposed a small reporting API (FirebaseCrash.report(...), FirebaseCrash.log(...), and the logcat-aware FirebaseCrash.logcat(...)), and surfaced grouped "clusters" of similar stack traces on its own console dashboard, with optional ProGuard mapping.txt uploads for deobfuscated traces.
The product never left Beta. After Google acquired Fabric and rebuilt Crashlytics as Firebase Crashlytics, the standalone Crash Reporting SDK and dashboard were retired in Crashlytics' favor — see the Firebase blog post It's Time to Upgrade to the New Firebase Crashlytics SDK! for the transition timeline. The last firebase-crash artifact published to the Google Maven repository was version 16.2.1 (May 2018), and the original documentation pages at firebase.google.com/docs/crash/android now redirect to the Crashlytics product docs. The setup walkthrough this page once carried (pinning firebase-crash:9.0.0) has been removed because none of it can produce a working integration today.
For everything this SDK used to do — automatic crash capture, non-fatal exception reporting, custom logs, and deobfuscated stack traces — use Firebase Crashlytics instead, starting from this wiki's Crash Reporting with Crashlytics guide or the official Get started with Firebase Crashlytics documentation.
This guide was originally drafted by Segun Famisa, and later trimmed to a historical note after the Firebase Crash Reporting product was retired.
- Crash Reporting with Crashlytics — the current, supported walkthrough on this wiki
- Firebase Crashlytics — Get started (Android)
- It's Time to Upgrade to the New Firebase Crashlytics SDK! (Firebase blog, October 2020)
- Original docs at
firebase.google.com/docs/crash/androidand thecom.google.firebase.crashpackage reference now redirect to the Crashlytics product page.
Created by CodePath with much help from the community. Contributed content licensed under cc-wiki with attribution required. You are free to remix and reuse, as long as you attribute and use a similar license.
Finding these guides helpful?
We need help from the broader community to improve these guides, add new topics and keep the topics up-to-date. See our contribution guidelines here and our topic issues list for great ways to help out.
Check these same guides through our standalone viewer for a better browsing experience and an improved search. Follow us on twitter @codepath for access to more useful Android development resources.