Share via

.NET MAUI (.NET 10) Firebase Analytics and Crashlytics not working – Crashlytics build ID is missing

Reka Ravi 5 Reputation points
2026-04-03T11:06:13.0366667+00:00

I am trying to integrate Firebase Analytics and Crashlytics into a .NET MAUI (.NET 10) Android application, but I am facing a runtime exception related to Crashlytics.

Steps I followed:

Created a new .NET MAUI project

Created a Firebase project and added an Android app

Ensured the ApplicationId matches the package name

Added google-services.json to: Platforms/Android/google-services.json

Set Build Action to GoogleServicesJson

Installed the following NuGet packages:

Plugin.Firebase

  Plugin.Firebase.Analytics
  
     Plugin.Firebase.Crashlytics
     

Configuration:

ApplicationId in .csproj: com.companyname.firebasepocapp

Package name in AndroidManifest.xml: com.companyname.firebasepocapp

Error:

At runtime, I get the following exception:

Java.Lang.RuntimeException: Unable to get provider 
com.google.firebase.provider.FirebaseInitProvider: 
java.lang.IllegalStateException: 
The Crashlytics build ID is missing.

What I have tried:

Verified google-services.json placement and build action

Ensured package names match

Cleaned and rebuilt the solution

Questions:

Is additional Android Gradle configuration required for Crashlytics in .NET MAUI (.NET 10)?

Does Plugin.Firebase fully support Crashlytics for .NET 10?

Is there any required initialization code or setup missing for Analytics and Crashlytics?

Any guidance or working setup example would be helpful.


Environment:

.NET MAUI (.NET 10)

Android target

Visual Studio 2026

  • Plugin.Firebase (latest available version)
Developer technologies | .NET | .NET MAUI
0 comments No comments

1 answer

Sort by: Most helpful
  1. Varsha Dundigalla(INFOSYS LIMITED) 4,785 Reputation points Microsoft External Staff
    2026-04-03T15:11:04.6633333+00:00

    Thank you for reaching out.
    Crashlytics stops the app from starting because its Android setup is not fully completed when used through Plugin.Firebase.

    No extra Android Gradle files need to be added manually like in a native Android app. However, Crashlytics still expects certain Android build information to be available. In a MAUI project, this information is provided only when the plugin’s Android requirements are fully met. If that setup is incomplete, Crashlytics cannot continue during app startup.

    Plugin.Firebase works with .NET 10, but it is a third‑party library and does not work automatically. Crashlytics support depends on following all Android‑specific setup steps required by the plugin. When those steps are missed, the app stops during launch.

    Adding google-services.json alone is not enough. Crashlytics needs additional Android configuration that happens at build time, before any application code runs. That is why adding or changing C# code does not help in this situation.

    Once all Android configuration required by Plugin.Firebase for Crashlytics is completed, Crashlytics initializes correctly and the app starts normally.

    In summary, this behavior happens due to incomplete Firebase Crashlytics configuration through Plugin.Firebase on Android and completing the plugin’s required setup resolves it.

    Please let us know if you require any further assistance, we’re happy to help. If you found this information useful, kindly mark this as "Accept Answer". So that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.