I Cannot View Crash Detail Of Firebase Crashlytics For Android And Got Stuck On "build And Run Your App"
Solution 1:
Guys I have commented earlier here for solution but fortunately got its solution on my own.
Initialization of app is not mentioned anywhere to get crashlytics report on our console!
Step 1. First follow the official doc's link to include all dependencies as it is given there and setup your firebase app through firebase console.
Step 2. Now do the following initialization in your base application class or base activity class.
FirebaseApp.initializeApp(getApplicationContext());
FirebaseCrashlytics.getInstance().setCrashlyticsCollectionEnabled(true);
Now clean you project and do some force crash for few times, you should be able to see your crashlytics report on your firebase console
Refer this answer also OkHttp timeout issue
Solution 2:
I had the same problem.I was working in an old project with the old Fabric Crashlytics and Google Analytics
So, this are the steps I did to see the screen in Firebase of "Installation successful!"
- Delete everything related to Fabric from the project-level build.gradle
- Delete everything related to Fabric from the app-level build.gradle
- Search and delete all calls to Crashlytics within the project
- Clean Project
- Build Project
- and finally, start again following the steps from this link
The first 4 steps were the most important in my case. They cleaned every trace of the Fabric library that I had previously installed.
Solution 3:
Firebase Document also tells us to wait 5 minuteshttps://firebase.google.com/docs/crashlytics/test-implementation?platform=android
This is what is said in document :
To test the implementation, press the button in your app to force the crash, then reopen your app so that Crashlytics can send the crash report to Firebase. It may take up to five minutes for the report toappear in the Firebase console.
I also followed @Shetanks answer https://stackoverflow.com/a/59906454/14784590
And its working after few crashes in two different devices.
Solution 4:
Try updating your dependencies according to the Get Started page.
It should be something like:
implementation 'com.google.firebase:firebase-core:16.0.7'
implementation('com.crashlytics.sdk.android:crashlytics:2.9.9')
Remove the line:
transitive = true;
Solution 5:
If you have multiple apps in the project then make sure that right app is selected for communication in the Firebase crashlytics console. I searched everything on the web, at the end I realized that I have selected the wrong app in crashlytics console.
Post a Comment for "I Cannot View Crash Detail Of Firebase Crashlytics For Android And Got Stuck On "build And Run Your App""