P.S.
P.S.

Reputation: 168

Switch from Fabric to Firebase Crashlytics problem: The Crashlytics build ID is missing

After switch from Fabric to Firebase Crashlytics SDK I have a problem. Problem is as in the title: 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.

I have json file generated from console(double checked these and keys with everything else looks ok). I have libs added in gradle. I'm calling 'throw new RuntimeException("Test Crash");' and getting an error with build ID which I have no idea what it is...

Upvotes: 17

Views: 7528

Answers (3)

Tô Minh Tiến
Tô Minh Tiến

Reputation: 1177

Be sure to have 2 things below: In the root build.gradle:

buildscript {
    ...
    dependencies {
        ...
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.5.0'
    }
    ...
}

and under app/build.gradle:

...
apply plugin: 'com.google.firebase.crashlytics'
...

Upvotes: 6

Vairavan
Vairavan

Reputation: 1294

Seems like instruction could have been missed out

apply plugin: 'com.google.firebase.crashlytics'

Upvotes: 10

Oleg Kodysh
Oleg Kodysh

Reputation: 1044

It sounds like you're using Fabric dependencies in your Firebase app. This error occurs when your Crashlytics Gradle plugin isn't correctly configured. I recommend going through these onboarding instructions once more to make sure everything looks right in your integration.

Upvotes: 0

Related Questions