Android-Android Studio 3.0找不到Android Device Monitor

原文:https://blog.csdn.net/yuanxiang01/article/details/80494842?utm_source=copy
 
为何Android Studio 3.0中找不到Android Device Monitor?
由于自Android Studio 3.0开始弃用Android Device Monitor,Android Developers官网上的原话是:

  Android Device Monitor is a standalone tool that provides a UI for several Android app debugging and analysis tools.
  However, most components of the Android Device Monitor are deprecated in favor of updated tools available in Android Studio 3.0 and higher. The table below helps you decide which developer tools you should use.

译文:

  Android设备监视器是一个独立的工具,为几个Android应用调试和分析工具提供了一个UI。
  可是,大多数Android设备监视器组件已弃用,以支持Android Studio 3.0和更高版本中提供的更新工具。下表帮助您决定应该使用哪些开发人员工具。

 
图1.Android Developers关于Android Device Monitor的说明页
 
如何在Android Studio 3.0中使用Android Device Monitor?
虽说被“弃用”,可是不表明不支持,咱们仍是能够经过其余方式来使用Android Device Monitor,具体使用方式以下:
在android-sdk/tools/目录的命令行中输入如下内容:
 
monitor1
若是你不知道你的Android SDK安装在哪一个目录,能够在Android Studio的设置1中查看:
 
图2.Android Studio设置界面
进入CMD窗口2,cd到目标文件夹tools下,而后输入命令montior:
 
图3.cmd界面
接下来,咱们就能够看到期待已久的Android Device Monitor界面了3:
 
图4.Android Device Monitor界面
Android Studio的设置界面快捷键:Ctrl+Alt+S ↩按Windows键+R进入CMD窗口 ↩进入Android Device Monitor的前提是已经打开了Android设备模拟器 ↩


Android studio3.0打开Device File Explore(文件管理器)的方法看到网上AS3.0新增长的查看手机文件的新功能,所有都是转载的,没有几我的心细的把如何打开的方法写下来,我找了好多地方才找到打开的方法,目前有以下两种种:方法一:点击 View > Tool Windows > Android Profiler (还能够点击工具栏的).
  • 方法二:
  • 直接在工具栏打开:
相关文章
相关标签/搜索