What is logcat. How can I use it?

my app is crashing . I heard about log cat . how can I use logcat to solve crashing issue .?

Logcat doesn’t prevent app crashes. It just logs the all system messages/warnings/errors about everything in your device. So you can learn what’s going wrong for your app.

Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages.
Logcat command-line tool  |  Android Developers

This tutorial can help you:

3 Likes

Make tutorial video.

You have a bunch of them on Youyube

https://www.youtube.com/results?search_query=how+to+logcat+android+app

2 Likes

see also


Taifun

1 Like