Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the gradle console 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 807
Zixing Wang Avatar asked Mar 28 '18 23:03

Zixing Wang


People also ask

Where is gradle located Android Studio?

The top-level build.gradle file, located in the root project directory, defines dependencies that apply to all modules in your project. By default, the top-level build file uses the plugins block to define the Gradle dependencies that are common to all modules in the project.

Where is gradle version in Android project?

Here are at least two ways you can find out the gradle version (not the gradle plugin version) by selecting one of the following on project tab on left: Android > Gradle Scripts > gradle-wrapper. properties (Gradle Version) > distributionURL.

Where is gradle syncing in Android Studio?

Open your gradle. properties file in Android Studio. Restart Android Studio for your changes to take effect. Click Sync Project with Gradle Files to sync your project.


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 155
CommonsWare Avatar answered Nov 13 '22 07: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 22
Yurii Kyrylchuk Avatar answered Nov 13 '22 08:11

Yurii Kyrylchuk