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

后端 未结 4 789
春和景丽
春和景丽 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: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

提交回复
热议问题