Uncaught exception within uncaught exception handler

后端 未结 2 1597
我在风中等你
我在风中等你 2021-01-05 13:58

This question may sound a little silly ;)

How would approach the possibility of an uncaught exception within the UncaughtExceptionHandler?

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-05 14:18

    Very interesting question, I haven't thought about this before.

    The approch seems to be that either set your own uncaughtExceptionHandler on your thread or it will get passed to JAVAs defaultUncaughtExceptionHandler,

    I made some quick googeling and found a similar case for getting crash data from android. I think you may be intresing in this link How do I obtain crash-data from my Android application?

提交回复
热议问题