Set up Crashlytics: Android

classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1'
// Apply the Crashlytics Gradle plugin
apply plugin: 'com.google.firebase.crashlytics'
// Import the BoM for the Firebase platform
implementation platform('com.google.firebase:firebase-bom:26.1.1')


// Declare the dependencies for the Crashlytics and Analytics libraries
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation 'com.google.firebase:firebase-crashlytics-ktx'
implementation 'com.google.firebase:firebase-analytics-ktx'
Log.d("TEST", "${1/0}");

Working remotely as Android Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Add Voice Commands to Android Apps

Setup A-Frame VR with Oculus Quest 2

Here are some of the major features of Android 12

Common Interview Questions for Android Interns

Network debugging in android with Stetho

How to compile iperf3 for Android

Android Real Time Weather App -Android Studio Part 01

Day 14: Spawning Objects With Less Clutter

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gaurav Rajput

Gaurav Rajput

Working remotely as Android Developer

More from Medium

Making a Simple To-Do List Application with HMS Kits

MVP module in Swift

Android Studio & HMS Core Kit Integration

Android Studio

Multiple Image Selecter in android studio with Matisse