Crashlytics not showing crashes for release build Android

后端 未结 1 730
面向向阳花
面向向阳花 2020-12-21 07:54

I am facing isssue with Crashlytics. Not sure what I am doing wrong. I have two buildTypes release and debug as below. Gradle file:

apply plugin: \'com.androi         


        
1条回答
  •  时光说笑
    2020-12-21 08:20

    I was able to find out why it wasn't working. I missed this point while adding Fabric:

    "Make sure the Fabric.with() line is after all other 3rd-party SDKs that set an UncaughtExceptionHandler"

    I had few uncaught exception handlers after I had initialised Fabric. But what I didn't understand is why it worked for debug and not release. If it had to fail, it should have failed for both release and debug as well.

    It did fix my issue, but would like to know why that could have happened.

    Thanks all for your help. Appreciate it.

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