简体   繁体   中英

Initializing Firebase crashlytics in android

I have migrated Fabric Crashlytics to Firebase Crashlytics in my android project. While using fabric, in activity class I have used below line,

Fabric.with(this, new Crashlytics());

But after migration, what is the exact replacement of this in Firebase Crashlytics.

Thanks in Advance..

You have to follow the Firebase tutorial when activating the Crashlytics. You don't need any code to initialize Crashlytics, it's automatic.

The only thing you need, following the tutorial, is to make an intentional crash, api will detect it and your crashlytics will be connected.

Please, follow the next documentation: https://firebase.google.com/docs/crashlytics/get-started?hl=es&platform=android

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM