Crashlytics is a Google-owned Boston, Massachusetts-based software company founded in May 2011 by entrepreneurs Wayne Chang and Jeff Seibert. Crashlytics helps collecting, analyzing and organizing app crash reports.
Google has now completely migrated from Fabric to Firebase Crashlytics. If you are still using Fabric SDK and you are not able to see the crash report on Firebase console then you need to do some changes in the app as well.
Before we get into the how to integrate Firebase Crashlytics, first we need to register and configure our app on Firebase.
Open top-level build.gradle file and add below classpaths in dependencies
Add Firebase Crashlytics plugin to your app-level build.gradle file
apply plugin: 'com.google.gms.google-services'
Add Firebase Crashlytics SDK and Google Analytics SDK (recommended) to your app.
That’s it! Now run your app now and it is successfully configured with firebase Crashlytics!To check if crashes are being reported or not add below code
throw RuntimeException("Test Crash") // Force a crash