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

3

17

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...

Malodorous answered 4/5, 2020 at 14:13 Comment(3)
Did you find any solution?Waylin
I have answered in #63325927 , may be this is the solution for your caseDisencumber
You can refer this answer https://mcmap.net/q/273313/-firebase-crashlytics-java-lang-illegalstateexception-the-crashlytics-build-id-is-missingWaylin
H
10

Seems like instruction could have been missed out

apply plugin: 'com.google.firebase.crashlytics'
Halflength answered 2/11, 2020 at 2:30 Comment(0)
A
6

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'
...
Aestival answered 25/2, 2021 at 17:6 Comment(1)
This answer sums up exactly what is missing in the Firebase documentation. Should be the accepted one IMO.Chitwood
C
0

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.

Curitiba answered 4/5, 2020 at 15:4 Comment(4)
I did it twice. What i have spotted now if add fabric url to maven, classpath and plugin but without implementation of library and without key in manifest - Crashlytics starting work without errors. Don't know what to do with this...Malodorous
It very much sounds like you might be implementing both the Fabric and Firebase onboarding instructions. I'd consider writing into Firebase Support if you want help configuring your integration, since I wouldn't ask you to send me your gradle files and MainActivity over SO.Curitiba
Ugh...it was missing apply plugin: 'com.google.firebase.crashlytics' but still no mail with crash. It's not my day for work...Malodorous
Your dashboard isn't receiving the crash, or you're just not receiving the email notification? If it's just the email, then I suggest clicking on the notifications setting in the Firebase console, in the top right, and making sure you have new issues set to on. Also, make sure you haven't received an email previously for that issue, since Firebase won't send duplicate emails for issues unless they exceed your Velocity Alerts threshold.Curitiba

© 2022 - 2024 — McMap. All rights reserved.