Android Studio是否具有层次结构查看器或布局检查器? [英] Does Android Studio have a Hierarchy Viewer or Layout Inspector?

查看:399
本文介绍了Android Studio是否具有层次结构查看器或布局检查器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试在此处搜索,但找不到答案.

I tried searching on here but couldn't find the answer.

我正在寻找一种从Android Studio中启动 Hierarchy Viewer 的方法,而不是必须在命令行上启动它.我最近已经从Eclipse迁移到Android Studio,并且该功能在该IDE的DDMS工具集下可用.

I'm looking for a way to launch the Hierarchy Viewer from within Android Studio, rather than having to launch it at the command-line. I've recently migrated to Android Studio from Eclipse, and this functionality was available under the DDMS set of tools in that IDE.

我已经查看了"Android"工具栏下的内容,并且可以在其中看到屏幕截图功能,但是看不到层次结构查看器.我还查看了菜单系统中的工具> Android ,该菜单也不存在.

I've looked under the "Android" toolbar, and can see the screen-shot functionality there, but not the hierarchy viewer. I've also looked under Tools > Android in the menu system, and it's not there either.

推荐答案

DDMS,层次结构查看器,openGL Tracer等都已移至Android设备监视器中.要访问:

DDMS, Hierarchy Viewer, openGL Tracer etc all moved into Android Device Monitor. To access:

  1. 在Android Studio中:工具"菜单>"Android">"Android设备监视器"
  2. 在ADM中:窗口"菜单>透视图"
  3. 单击层次结构查看器".

这篇关于Android Studio是否具有层次结构查看器或布局检查器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆