Android Studio missing exception stacktrace in Logcat

后端 未结 4 1021
Happy的楠姐
Happy的楠姐 2020-12-19 03:24

For some time, Android Studio doesn\'t show me stacktrace when developed application crashes. All I can see is following line:

06-09 16:12:36.875  26037-2603         


        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-19 03:48

    For me the issue was that Android studio was showing logs from a restarted version of the app rather than the one that just died.

    To see the stacktrace from the app version that has died, there is a drop down on the right of the logical window which allowed me select the logs from the dead app:

    This then showed the correct stracktrace.

提交回复
热议问题