为什么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/目录的命令行中输入以下内容:

monitor

如果你不知道你的Android SDK安装在哪个目录,可以在Android Studio的设置1中查看:


图2.Android Studio设置界面

进入CMD窗口 2,cd到目标文件夹 tools下,然后输入命令 montior

图3.cmd界面

接下来,我们就可以看到期待已久的Android Device Monitor界面了 3:

图4.Android Device Monitor界面


  1. Android Studio的设置界面快捷键:Ctrl+Alt+S
  2. Windows键+R进入CMD窗口 ↩
  3. 进入Android Device Monitor的前提是已经打开了Android设备模拟器 ↩

更多相关文章

  1. 箭头函数的基础使用
  2. NPM 和webpack 的基础使用
  3. Python list sort方法的具体使用
  4. 【阿里云镜像】使用阿里巴巴DNS镜像源——DNS配置教程
  5. Android(安卓)Activity界面切换添加动画特效
  6. Android(安卓)拨号器的简单实现
  7. android 使用html5作布局文件: webview跟javascript交互
  8. android用户界面之按钮(Button)教程实例汇
  9. Android(安卓)Resource介绍和使用

随机推荐

  1. android折叠展开列表动态修改显示测试
  2. Android实现手机定位的案例代码
  3. 简析API属性——API 23 view.View
  4. Android P 限制级API调用弹窗关闭
  5. Android第一个程序——打招呼
  6. Android 弧形进度条
  7. android生成json
  8. Android重启应用程序代码
  9. Android OpenCV 灰度图转化
  10. Android Bitmap用法大全,以后再也不担心了