Why is Fabric not initialized? java.lang.IllegalStateException: Must Initialize Fabric before using singleton()

后端 未结 8 752
误落风尘
误落风尘 2021-02-06 22:26

I set up Firebase Crashlytics according to Get started with Firebase Crashlytics for my Android app (using Android studio 3.1.3). On my own device as well as on the Emulator, ev

8条回答
  •  自闭症患者
    2021-02-06 22:52

    This error had me beat on an Ionic 4 build. I have installed the Cordova firebaseX module, and this error occurred.

    From reading the debug log I managed to see that the firebase crashlytics collection was missing a bool. In the androidmanifest I found this line and simply changed the value to a bool for a hot fix. I put in 'true' - and the error is gone.

    
    

    So for anyone out there was this error on Ionic platform. Look in the androidmanifest file for the above meta line.

提交回复
热议问题