firebasefluttercrashlyticscrashlytics-android

Removed Crashlytics still getting Crashlytics error on build


I removed the Firebase Crashlytics library and references from my Flutter project but I still get this error:

Unable to get provider com.crashlytics.android.CrashlyticsInitProvider: io.fabric.sdk.android.services.concurrency.UnmetDependencyException: The Crashlytics build ID is missing.  

Everytime I build my project I get the above error in my build log. All references to Crashlytics were removed from both the project app gradle file and module gradle file, the library dependency was removed from my yaml file. I ran flutter clean and also restarted Android studio, but I still get that Crashlytics error in my build log.


Solution

  • Firebaser here - If this error still exists, it's likely that there is still a reference to Crashlytics somewhere in your app code or dependencies. Since it's looking for the InitProvider, it could be that you still have some app code that is referencing Firebase or Crashlytics. Perhaps a call to a Crashlytics API in a file somewhere? In Android Studio, you could use CMD+shift+F and search for "Firebase" or "Crashlytics" to find any references still hanging around.