问题
Very dumb, very basic question, but this has been frustrating the hell out of me, so here goes.
My stack trace has disappeared in Android Studio. All Logcat shows is crap like this:
8:34:36 PM Gradle build finished in 16 sec
8:41:30 PM Gradle build finished in 10 sec
8:43:05 PM Gradle build finished in 8 sec
8:43:07 PM Session 'app': running
8:45:18 PM Gradle build finished in 10 sec
8:45:20 PM Session 'app': running
No stack trace, no nothing, and I know for sure that there are exceptions I should be seeing. What do I do? How do I get my beautiful stack trace to come back to me? I've been researching this for half an hour and nothing I've found so far seems to help.
Thanks in advance!
回答1:
This log aren't Logcat, this is Event Log
To turn on Logcat go View > Tool Windows > Android Monitor (Alt + 6 on Windown or Command + 6 on OSX)
回答2:
This is pretty embarrassing, but I made the mistake, so I'll own up to it. I had the damn thing shrunk so tiny that I couldn't see it. All I had to do was drag the window out to open it up.
来源:https://stackoverflow.com/questions/33684710/display-stack-trace-in-android-studio-its-disappeared