Send Logcat output of an App to an EmailAdress

前端 未结 7 1975
难免孤独
难免孤独 2020-12-01 15:56

We are now testing our application with a few friends. Sometimes there are some errors which don\'t throw an exception. So I don\'t really know whats the problem was. So I t

7条回答
  •  旧时难觅i
    2020-12-01 16:51

    Thanks to you 2 but by browsing the android-log-collector forum I found a solution that is even easier to handle:

    There you can store a php file somewhere on your server (or if you dont want to use your own server, they also have a script on their server). In this php file you can define what shall be done when the post message reaches the server. I just definded a very simple code which forwards the data to my mail adress.

    This only works if an uncaught exception was thrown. But one could extend the default uncaught exception handler, so that it's also possible to not only get the stacktrace but also the logcat.

提交回复
热议问题