Does Android Studio have a Hierarchy Viewer?

情到浓时终转凉″ 提交于 2019-11-27 07:11:01

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

  1. In Android Studio: "Tools" menu > Android > Android Device Monitor
  2. In ADM: "Window" Menu > Perspective
  3. Click on Hierarchy Viewer.

Another option is to use the new Layout Inspector introduced in Android Studio 2.2.

Android Studio 3.2

The layout inspector is now found directly under tools. Tools > Layout Inspector

Android Studio 3

The layout inspector can only be found under Tools > Android > Layout Inspector

Android Studio 2.2

Instructions from original link on how to open the Layout Inspector:

To open the Layout Inspector, first launch your app on a connected device or emulator. Then open the Android Monitor

window, select your device and app process, and then click Layout Inspector

. You can also open it by clicking Tools > Android > Layout Inspector in the menu bar.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!