Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 3.1: Under Tools menu, Android tool submenu is missing

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 442
Zixing Wang Avatar asked Mar 28 '18 23:03

Zixing Wang


People also ask

Where is menu in Android Studio?

To define the menu, create an XML file inside your project's res/menu/ directory and build the menu with the following elements: <menu> Defines a Menu , which is a container for menu items.

How to inflate menu in Android?

First, the simple option menus and second, options menus with images. Here, we are inflating the menu by calling the inflate() method of MenuInflater class. To perform event handling on menu items, you need to override onOptionsItemSelected() method of Activity class.

How to create menu and menu groups?

Click Master Data, and then click Menu Groups. Click New, enter the Menu Group name (for example, Anniversary Party ) and a Menu Group No (optional), and then enter the menu groups (for example, starter , main course ) in the Menu Group fields 1 through 20. Click Save.


1 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 114
CommonsWare Avatar answered Nov 15 '22 16:11

CommonsWare