Android - (Views) Hierarchy Viewer


GUI: View hierarchy viewer.


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:
  • 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.


You can open it:

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

Documentation / Reference

Powered by ComboStrap