As per new version of Firebase Crashlytics added in Our App and application stopped at launch time.
java.lang.RuntimeException: Unable to get provider com.google.firebase.provider.FirebaseInitProvider: java.lang.IllegalStateException: The Crashlytics build ID is missing. This occurs when Crashlytics tooling is absent from your app's build configuration. Please review Crashlytics onboarding instructions and ensure you have a valid Crashlytics account.
App-Level Gradle apply plugin: 'com.google.firebase.crashlytics'
implementation 'com.google.firebase:firebase-crashlytics:17.1.1'
Project-Levle Gradle classpath 'com.google.gms:google-services:4.3.3' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'
Follow steps by step from Firebase guides Firebase Guides
But earlier Fabric version is too much better than current one.
Any help will be appreciated.
Firebase Crashlytics is a lightweight, realtime 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 the build.gradle at the application level, add the following importsapply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
Then, in the gradle/wrapper/gradle-wrapper.properties file, upgrade your gradle version to 5.6.4distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
I used to run my app with gradle 5.1.1 and upgrading to the version 5.6.4 fixed my problems
I hope it'll help you !
That normally happens when the plugin apply plugin: 'com.google.firebase.crashlytics'
is missing in build.gradle
app level.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With