问题
Today i have upgraded from Android Studio 3.0 to 3.1 but I can´t find the Android Device Monitor!
How can access to the Android Device Monitor in Android Studio 3.1?
回答1:
Per the Android Studio 3.1 release notes:
Device Monitor available from the command line
In Android Studio 3.1, the Device Monitor serves less of a role than it previously did. In many cases, the functionality available through the Device Monitor is now provided by new and improved tools.
See the Device Monitor documentation for instructions for invoking the Device Monitor from the command line and for details of the tools available through the Device Monitor.
So you need to manually start it from the command line if you still want to run the Device Monitor. Otherwise, migrate to the updated performance tools and updated Layout Inspector built directly into Android Studio.
回答2:
Well, i found that the only way is opening from the command line!
Looking for the SDK location folder /tools
then execute monitor
but i found a problem, the AS must be closed because i receive that the port 8700 cannot be open because is used!
so to open ADM from command line now i have to close AS.
Device Monitor available from the command line
In Android Studio 3.1, the Device Monitor serves less of a role than it previously did. In many cases, the functionality available through the Device Monitor is now provided by new and improved tools.
See the Device Monitor documentation for instructions for invoking the Device Monitor from the command line and for details of the tools available through the Device Monitor.
thanks for your answer @ianhanniballake now i see the info in the official documentation.
回答3:
In Android Studio 3.1, the tools have changed. The DDMS or ADM tools were replaced by the Device File Explorer tool. You need to go to the menu. Follow these steps:
To open, click View > Tool Windows > Device File Explorer.
Here is a link for more tips. Good luck!
来源:https://stackoverflow.com/questions/49524458/where-is-adm-in-android-studio-3-1