Getting the crash log and send it as email

后端 未结 5 642
盖世英雄少女心
盖世英雄少女心 2021-02-06 13:23

From my search, i got the below code for getting the Crash Log .

try {
      Process process = Runtime.getRuntime().exec(\"logcat -d\");
      BufferedReader buf         


        
5条回答
  •  情话喂你
    2021-02-06 13:37

    Have a look at this projekt. LINK It is a small projekt to post the stacktrace to your server, so you have them on your own server.

提交回复
热议问题