13
votes

During update of my android app, i updated all dependencies. When i tested the release build, i receive the following error:

E/CrashlyticsCore: 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.

Crashlytics is working fine for my previous release that is currently available on the play store.

Any help will be appreciated.

2
Yes i checked many things including this one before asking for assistance here. - wj07
i use this implementation and i have no problem implementation('com.crashlytics.sdk.android:crashlytics:2.9.9@aar') { transitive = true exclude group: 'com.android.support', module: 'support-annotations' } . - Paraskevas Ntsounos

2 Answers

13
votes

UPDATE: October 6, 2020

So a fix is available now for using Crashlytics. Follow this link from Firebase

https://firebase.google.com/docs/crashlytics/upgrade-sdk?platform=android

Earlier Accepted Answer. After talking with fabric team, they told me that it is a known issue. To solve this, we have to include the apply plugin: 'io.fabric' in the build.gradle file of the app module. Including this will give the following warning:

WARNING: API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()'. It will be removed at the end of 2019.

You can ignore this warning for now. Hopefully a fix for this issue will be provided soon.

3
votes

It is fixed in the latest version, you can update your version with 1.28.0.

buildscript {
  // ... repositories, etc. ...

   dependencies {
       // ...other dependencies ...
       classpath 'io.fabric.tools:gradle:1.28.0'
   }
}