How to get Android crash logs?

前端 未结 17 1450
余生分开走
余生分开走 2020-11-28 18:07

I have an app that is not in the market place (signed with a debug certificate), but would like to get crash log data, whenever my application crashes. Where can I find a lo

17条回答
  •  没有蜡笔的小新
    2020-11-28 18:30

    You can try this from the console:

    adb logcat --buffer=crash 
    

    More info on this option:

    adb logcat --help
    
    ...
    
      -b , --buffer=         Request alternate ring buffer, 'main',
                      'system', 'radio', 'events', 'crash', 'default' or 'all'.
                      Multiple -b parameters or comma separated list of buffers are
                      allowed. Buffers interleaved. Default -b main,system,crash.
    

提交回复
热议问题