How to Integrate Firebase Crashlytics to Android project in Android studio

Nwokocha Wisdom Maduabuchi
3 min readNov 23, 2020
proandroiddev.com

Firebase Crashlytics is a lightweight, real-time crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.

In these tutorials, you will learn how to easily add Firebase Crashlytics to your Android project. Follow the guide below to start seeing crashes in your Firebase Crashlytics platform.

To learn more about Firebase Crashlytics https://firebase.google.com/docs/crashlytics/get-started?platform=android

Step 1: Connect your app to Firebase

To connect your Android project to Firebase follow this link: https://wise4rmgodadmob.medium.com/how-to-connect-your-android-studio-project-to-firebase-a5f5c4d67e87

Step 2: Add Firebase Crashlytics SDK to your Project

Click on the button “Add Firebase Crashlytics SDK to your app

Click on the “Accept Changes” to add it to your project

Now you can check your build.gradle to see the added dependencies

After these, goto Firebase console

firebase console

Click “Crashlytics” in the menu it will show the image below

Then click the “Enable Crashlytics” button to enable it on your project.

Then cause a crash in your Android project to get the report on the Firebase Crashlytics dashboard

throw  RuntimeException("Test Crash")

Add the above to your main activity Oncreate method. you will see the crash below

Congratulations 😍😍😍😍😍❤️❤️❤️ you just added crashlytics to your android project.

Thanks for reading my article

Let’s connect on
Twitter: https://twitter.com/Joklinztech
LinkedIn: https://www.linkedin.com/in/wisdom-nwokocha-76212a77/

--

--

Nwokocha Wisdom Maduabuchi

A software engineer with considerable experience in mobile development, native Android, and IOS development(Xcode), flutter dev, technical writing and community