Android Studio ADB wipes out logcat files when app crashes! Ohh Myy

后端 未结 1 1035
情深已故
情深已故 2021-02-01 17:10

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 to

相关标签:
1条回答
  • 2021-02-01 17:32

    When I use Android Studio I face the same problem, I resolve this problem by a simple solution: Set the logcat filter:

    1. Click Edit Filter Configuration at right of logcat enter image description here

    2. in the package name field, set you application ID, and click OK. enter image description here

    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.

    0 讨论(0)
提交回复
热议问题