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

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?

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:
And here is the Build tool after toggling the toolbar button that I point to via the red arrow:

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

Related

Where did the "Profile or Debug APK..." option disappear to in Android Studio 3.4.1?

Android Studio used to have the option to debug existing APKs from the File->Profile or Debug APK. I have used it in Android Studio version 3.4. Now at version 3.4.1, I cannot find it.
Does anyone know if the option was removed from Android Studio or where can I find it?
I had this same issue and here's how I solved it.
I had disabled APK and NDK support in hopes that it would speed up my IDE. I forgot to turn them back on. So I went into Preferences > Plugins and if you don't have them installed, install Android NDK and Android APK support. If you already have them installed, tick Android APK Support and it will prompt you to enable Android NDK Support if you don't have it enabled already.
Since Android Studio menu can be customize, by some way the option has been removed from your toolbar. To add it again go in File -> Settings -> Appearance & Behavior -> Menus and Toolbar
From here open the Main menu -> File -> File Open Actions folders.
Select the Open line, then click on the plus sign on top of the window next to the search bar. Click Add Action... and search for Profile or Debug APK... options.
Apply and you're good to go !
Edit
After some exchanges in the comments we fixed the issue another way.
You have to go into Settings -> Plugins first. Check if you have the plugin Android APK Support activated/installed. If not then install/activate it.
And now you're really good to go !
That's weird because I am using android studio 3.4.1 and its there:
When I had problems after updating android studio all I did was to re-install it and my problems got fixed.
Also, you should know that downloading another version of Android studio is really user-friendly, check my question about it.

Android Studio doesn't show the Android Tab in the Tools dropdown menu

I am trying to run a project created by a colleague, so he zipped up the file and I downloaded it on my computer. I already viewed this link about the issue, however the reported solutions workn't for me. Here is a screenshot regarding my settings for SDK Tools, SDK Platforms and the dropdown menu in question. I have tried turning it on and off again.
Now android studio doesn't support the android tab anymore. You will have to set your requirements from project settings and set emulator using AVD manager. Below attached image will help you navigate through those steps:

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?
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:
And here is the Build tool after toggling the toolbar button that I point to via the red arrow:
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

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?
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:
And here is the Build tool after toggling the toolbar button that I point to via the red arrow:
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

Android Studio 3.1 does not showing 'android' option under Tools menu

I am using android studio 3.1 for some development.
But Its does not showing android option under Tools menu. Whereas Android studio 3.0 doesn't have this problem.
Here is the screenshot of android studio 3.1 Tools menu:
See missing the android option.
I think this is some configuration related problem as it doesn't exist in android studio 3.0. Basically I need Enable ADB Integration option. Is there any way to show the option in Tools menu?
If you're looking for a way to fix the buggy connection to a physically connected USB device without restarting Android Studio, this might help:
Preferences > Build, Execution & Deployment > Debugger
Then check or uncheck the box Use libusb backend
Google has officially removed the Memory Monitor tool in the Android studio 3+ and brings new Tool that is Memory Profile.
From the documentation for the tool:
To open Memory Profiler, follow these step:
Click View > Tool Windows > Android Profiler (you can also click Android Profiler in the toolbar).
Select the device and app process you want to profile from the Android Profiler toolbar. If you've connected a device over USB but don't see it listed, ensure that you have enabled USB debugging.
Click anywhere in the MEMORY timeline to open the Memory Profiler.
See the Google's Official Statement.
Can u find the android in the Help>action?
like shown below.
click on Find Action or Ctrl+Shift+A
After that try searching"Android" in the search bar.
From the android studio 3.1, android option menu is deleted and you can read it from the documentation : https://developer.android.com/studio/profile/monitor.html
if you want to open it, open from the android-sdk/tools/ directory then run monitor.bat
hope this help you guys
In my case, after update android studio separated that field from tools and located it at bottom-right corner.
I have faced the same issue after many tried I found the solution. In Android Studio 3.1.3,
Click File> Settings > Debugger > Uncheck Kill the debug process immediately and apply then again check it.
Probably because the Android options are already there, provided without an additional sub-menu.
Here is what there is under the Tools menu in Android Studio 3.0, all options are same, just grouped together:
EDIT: There are some missing items such as 'Enable ADB Integration', for these you can always use the Help > Find Action... where you type in the search, it will look like this:
adb seems to be deprecated in android studio 3.1. On Ubuntu I can run adb from the command line using Android/Sdk/platform-tools/adb and I can run the Device Monitor using Android/Sdk/tools/monitor. More information may be available at https:/developer.android.com/studio/profile/monitor.html
You can use Android Profiler if you want to measure app performance and inspect activity for CPU, RAM and Network instead of using ADB Integration.
For more Info. check this out Measure app performance with Android Profiler
Add navigation folder inside res and add a file like below file. In this file, we have two activities that are UI will show in this navigation file.
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="#+id/nav_graph"
app:startDestination="#id/mainActivity">
<activity
android:id="#+id/mainActivity"
android:name="com.noman.navigation.MainActivity"
android:label="activity_main"
tools:layout="#layout/activity_main" />
<activity
android:id="#+id/oneActivity"
android:name="com.noman.navigation.OneActivity"
android:label="one_activity"
tools:layout="#layout/one_activity" />
</navigation>
you can also add this navigation via right click in res folder and section add a new resource.
By this, you will be able to see navigations on UI.
In my case, Android Studio 3.5.2, the location of the NDK bundle was not set in Preferences. To set NDK location, File -> Project Settings -> SDK Location then look for second field Android NDK Location. Once I provided the folder location for NDK bundle, Android Studio synced gradle again and built the app and showed all Android options under Tools.
link to image -- https://imgur.com/2yZVi0y
You could perform the following below steps to check memory usage.
Click View > Tool Windows > Profiler (you can also click Profile in the toolbar).
Select the device and app process you want to profile from the Android Profiler toolbar. If you've connected a device over USB but don't see it listed, ensure that you have enabled USB debugging.
Click anywhere in the MEMORY timeline to open the Memory Profiler.
I got the same problem.
Check you don't have any errors on the bottom of android studio. I got one with sdk build. If you got the same click on the link in error log.
Next go to file -> settings -> Appearance&Behavior -> Menus and Toolbars
Roll up Main menu -> Tools.
Choose Android.
Click on 'Apply' button and 'OK'.
Wait for a while (gradle progress-bar on the bottom).
I hope that I solve your problem.

Categories

Resources