Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Device Monitor is not showing in Android Studio 3.1 [duplicate]

I just upgrade Android Studio from 2.2 to 3.1. I am unable to find Gradle console and DDMS. Under Tools menu, there is no Android submenu that allow me to get DDMS

I tried solutions that I can find online in stackoverflow

1) File => settings => Menus and Toolbars =>Main menu=>Tools => Android. I find under Android, there shows --------, no DDMS tool is listed, and also the Apply button is grayed.

2) Help=> Find Action then type android for search. the screen display android menu, under it displays AVD manager and SDK manager only.

Anyone gets same problem? anyone find the DDMS and Gradle console in version 3.1?

like image 909
Zixing Wang Avatar asked Mar 28 '18 23:03

Zixing Wang


2 Answers

Under Tools menu, there is no Android submenu that allow me to get DDMS

They removed that menu. All supported tools are directly in the Tools menu. This is covered in the release notes.

no DDMS tool is listed

DDMS is deprecated. Most of its functions are now in Android Studio itself. You can still run the Android Device Monitor outside of Android Studio via the monitor tool, but you cannot have it and Android Studio 3.1 open at the same time, it appears. See the documentation for more.

anyone find the DDMS and Gradle console in version 3.1?

They removed the Gradle Console. There is the Build tool. By default, it gives you a tree version of the Gradle output. However, the second toolbar button down from the top, on the tool strip inside the Build tool, switches you from the tree view to raw Gradle output.

So, here is the Build tool in its default mode:

Android Studio 3.1 Build Tool, Default Mode

And here is the Build tool after toggling the toolbar button that I point to via the red arrow:

Android Studio 3.1 Build Tool, Raw Gradle Output Mode

like image 89
CommonsWare Avatar answered Nov 12 '22 16:11

CommonsWare


As you can see here (https://developer.android.com/studio/profile/monitor.html) DDMS is now deprecated. So you can use a new Android Profiler tool instead

like image 24
Yurii Kyrylchuk Avatar answered Nov 12 '22 14:11

Yurii Kyrylchuk