question

MatteoPozzato-2066 avatar image
0 Votes"
MatteoPozzato-2066 asked KyleWang-MSFT commented

[ANDROID] Firebase Crashlytics build ID is missing

Hi,
I need to add the support to firebase Crashlytics to my Xamarin.forms app.

For iOS it seems to work but on Android doesn't.

I need to have multiple json config files so I used this code to load the configuration:

             FirebaseOptions options = new FirebaseOptions.Builder()
                         .SetApplicationId(applicationId)
                         .SetApiKey(apiKey)
                         .SetGcmSenderId(gcmSenderId)
                         .SetProjectId(projectId)
                         .SetStorageBucket(storageBucket)
                         //.SetGaTrackingId("")
                         .Build();
    
             FirebaseApp.InitializeApp(this, options);

but after I have added the Firebase Crashlytics nuget pack, this error is triggered:


108889-screenshot-2021-06-24-at-102740.png

How can I solve this?

Also, there is an update guide to use Firebase in a Xamarin Forms application?
I have found only very old post to do so, but all with some older version of Firebase NuGet packages (ex. they use fabric or an old namespace).

Thank you!


dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MatteoPozzato-2066 Try to add the string resource <string name="com.google.firebase.crashlytics.mapping_file_id">none</string>. Here found a similar isssue on Github you can refer to.

1 Vote 1 ·

0 Answers