I cannot view crash detail of Firebase Crashlytics for android and got stuck on “Build and run your app”

后端 未结 4 785
春和景丽
春和景丽 2021-01-13 01:36

I try to setup Firebase Crashlytics after done setup Firebase.

The crashes was sent successfully.

Which I can see them in firebase dashboard.

<
相关标签:
4条回答
  • 2021-01-13 02:01

    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;

    0 讨论(0)
  • 2021-01-13 02:02

    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.

    0 讨论(0)
  • 2021-01-13 02:03

    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

    0 讨论(0)
  • 2021-01-13 02:27

    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!"

    1. Delete everything related to Fabric from the project-level build.gradle
    2. Delete everything related to Fabric from the app-level build.gradle
    3. Search and delete all calls to Crashlytics within the project
    4. Clean Project
    5. Build Project
    6. 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.

    0 讨论(0)
提交回复
热议问题