page.title=Device Setup for Hierarchy Viewer meta.tags="android, performance, profiling, tools, rendering, hierarchyviewer" page.tags="android", "performance", "profiling", "tools", "rendering", "hierarchyviewer" page.metaDescription=Set up your mobile device to work with Hierarchy Viewer. page.image=tools/performance/thumbnails/tools_hierarchy_viewer.png page.article=true @jd:body
To run Hierarchy Viewer, you must enable Developer Options on your mobile device and perform some setup on your computer.
Enable Developer Options on your mobile device.
ANDROID_HVPROTO
ddm
~/.bash_profile
#Hierarchy Viewer Variable
export ANDROID_HVPROTO=ddm
source ~/.bash_profile
~/.bash_profile
#Hierarchy Viewer Variable
export ANDROID_HVPROTO=ddm
source ~/.bash_profile