Android: Retrieve logcat before crash (reboot) on a real device

后端 未结 6 950
陌清茗
陌清茗 2021-01-13 09:47

I am developing an application and during my testing on a real device I have found that it will crash and cause the phone to reboot (worrying I know...)

Is there any

6条回答
  •  情深已故
    2021-01-13 10:32

    Try to open a terminal/command prompt and issue this in it :
    adb -d logcat
    This should dump you a live version of the logcat you could read to find the problem

提交回复
热议问题