Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is "Activity Manager State" in Android Studio 3?

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?

like image 569
azizbekian Avatar asked Oct 27 '17 13:10

azizbekian


People also ask

How do I find Backstack on Android?

1): View->Tool Windows->Android. Then on the left hand side select the System Information Icon and from it's drop down select 'Graphics State'. This will dump show a lot of information, but if you scroll down to 'View hierarchy:' you will see the current stack of views i.e. the 'Back Stack'.

How do I print an activity stack?

Find the System Information tab in Android Monitor . Then, Activity Manager State . Then, it shall generate you stack of your activities. Look for ACTIVITY(all caps).

What is a task in Android?

A task is a collection of activities that users interact with when trying to do something in your app. These activities are arranged in a stack—the back stack—in the order in which each activity is opened. For example, an email app might have one activity to show a list of new messages.


1 Answers

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.

like image 121
azizbekian Avatar answered Oct 16 '22 06:10

azizbekian