Android - (Views) Hierarchy Viewer

> Android

1 - About

GUI: View hierarchy viewer.

3 - Configuration/Installation

Hierarchy Viewer only works by default with phones running a developer version of the Android OS. If your phone is not a developer phone, you have a few options:

  • If you have a phone running Jellybean or higher, you can simply add the environment variable ANDROID_HVPROTO with the value ddm:
ANDROID_HVPROTO=ddm
  • You can run Hierarchy Viewer on an emulated phone.
  • Or you can use use the ViewServer library to get Hierarchy Viewer working on a non-developer, pre Jellybean phone.
Advertising

4 - Location

You can open it:

  • sdk/tools/hierarchyviewer.
  • or by going to the Android Device Monitor and then clicking the Hierarchy Viewer button.

5 - Documentation / Reference