Just upgraded latest Android Studio. Now when app crashes, the log files adb logcat disappear. It not only stops recording the whole logs seems to be suddenly wiped out. Not too cool for debugging. Do I need to set log cache size or something? Also noticed that debugger takes a very long time to collect its data, but this might be specific to the program I am testing.
When I use Android Studio I face the same problem, I resolve this problem by a simple solution: Set the logcat filter:
Click Edit Filter Configuration at right of logcat
in the package name field, set you application ID, and click OK.
Next time the app crash, the logcat will not wipes out.
Very Glad my reputation is above 10, and I can add photo in my answer directly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With