ANDROID ERROR- Firebase Crashlytics found an invalid API key: null


after adding file fabric.properties, getting error as below.
Crashlytics found an invalid API key: null. Check the Crashlytics plugin to make sure that the application has been added successfully! Contact support@fabric.io for assistance.

We need to register app and verify SHA-1 for same.
Add firebase: add google-services.json file from firebase console to your /app folder of your application(follow steps given by Firebase Console-> Add Firebase to your Android app ).
It's not giving error now.

( So, after adding the ApiKey for crashanalytics,
How can a firebase server verify that the crashanalytics key used by your app?
So, after you add  the firebase api key as above, the firebase server will be able to verify your app based on the google-services.json (SHA-1 verification))

For more: ERROR - Crashlytics Developer Tools error

Popular Posts