How to get Android crash logs?

前端 未结 17 1382
余生分开走
余生分开走 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:31

    I have created this library to solve all your problems. Crash Reporter is a handy tool to capture all your crashes and log them in device locally

    Just add this dependency and you're good to go.

    compile 'com.balsikandar.android:crashreporter:1.0.1'
    

    Find all your crashes in device locally and fix them at your convenience. Crashes are saved using date and time format easy to track. Plus it also provides API for capture Logged Exceptions using below method.

    CrashRepoter.logException(Exception e)
    

提交回复
热议问题