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 h
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.
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
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
In my case, after update android studio separated that field from tools and located it at bottom-right corner.
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