New Build Type Fails With Error: Crashlyticsorgidexception: Could Not Fetch Crashlytics Org Id
Solution 1:
I got this error when Crashlytics
was not completely configured in Firebase Console
Make sure that you have added your new build type as separate app in console and then go to Crashlytics
section select new app and complete all three steps there.
After this build again, build should succeed.
Solution 2:
in my case, I changed the
build.gradle(project)
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.0.0-beta02'
to :
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.2.0'
And then rebuild. The problem solved.
Solution 3:
try to check again your plugin in gradle, I think you forgot to add some plugins
Solution 4:
Make sure that you have added your app in the firebase project settings with the correct package name and that you have downloaded the google-services.json
file and put it into the app.
- Open Firebase Console
- Select your project
- In the left menu next to
Project Overview
you can navigate to theProject settings
. - Use the
Add app
button or check the existing package name for the app. - Download
google-services.json
and put into your project.
Solution 5:
just remove
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.0.0-beta02'
and
apply plugin: 'com.google.firebase.crashlytics'
build and enjoy
Post a Comment for "New Build Type Fails With Error: Crashlyticsorgidexception: Could Not Fetch Crashlytics Org Id"