问题
There was a very handy feature for debugging, that was present in Android studio 2.x, but currently is not there in 3.x.
It was a bit hidden in the UI:
Then it will prompt with detailed activity manager state:
I know, that I can acquire that output with adb shell dumpsys activity top
, I'm just curious whether it is possible to get the old functionality back?
回答1:
As pointed out by Wojtek Kaliciński in a tweet:
A bug is opened here.
Update
We apologize if this was inconvenient. The old feature is still available from the terminal tool window by doing "adb shell dumpsys activity" and have it in a file. We plan to integrate more of this into the actual UI of the profilers as opposed to a plain txt file out of the command.
来源:https://stackoverflow.com/questions/46975846/where-is-activity-manager-state-in-android-studio-3