Need to handle uncaught exception and send log file

后端 未结 7 914
时光说笑
时光说笑 2020-11-22 15:42

UPDATE: Please see \"accepted\" solution below

When my app creates an unhandled exception, rather than simply terminating, I\'d like to first give t

7条回答
  •  星月不相逢
    2020-11-22 16:16

    Today there are many crash reprting tools that do this easily.

    1. crashlytics - A crash reporting tool, free of charge but gives you basic reports Advantages : Free

    2. Gryphonet - A more advanced reporting tool, requires some kind of fee. Advantages : Easy recreation of crashes, ANR's, slowness...

    If you are a private developer I would suggest Crashlytics, but if it's a big organization, I would go for Gryphonet.

    Good Luck!

提交回复
热议问题