Android - How to identify exceptions thrown on mobile phones?

1

When an unhandled exception is thrown the application is closed (eg NullPointerException) so far so good when you are testing the application through IDE, but when you generate an apk and want your friends to test the application for you , when an exception is raised, how to identify the error?

I'd like to know if there's a possibility to identify all the exceptions thrown on Android to display an AlertDialog of type: "Exception thrown and the app will be closed: java.lang.NullPointerException at com.example ... "or a similar solution such as saving all application logs to a text document, etc.

Thank you:)

    
asked by anonymous 15.01.2018 / 17:06

1 answer

1

The Crashlytics aggregates errors that occur on all devices in one Web interface. It is quite used to this. On the Google Play dashboard you also have access to reports submitted by users of your app who downloaded it through Google Play.

    
15.01.2018 / 17:15