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

前端 未结 12 947
旧时难觅i
旧时难觅i 2020-12-29 19:50

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

相关标签:
12条回答
  • 2020-12-29 20:29

    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:

    1. Click View > Tool Windows > Android Profiler (you can also click Android Profiler in the toolbar).
      1. 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.
      2. Click anywhere in the MEMORY timeline to open the Memory Profiler.

    See the Google's Official Statement.

    0 讨论(0)
  • 2020-12-29 20:30

    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

    0 讨论(0)
  • 2020-12-29 20:31

    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

    0 讨论(0)
  • 2020-12-29 20:32

    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

    0 讨论(0)
  • 2020-12-29 20:36

    In my case, after update android studio separated that field from tools and located it at bottom-right corner.

    0 讨论(0)
  • 2020-12-29 20:38

    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

    0 讨论(0)
提交回复
热议问题