tags:

views:

62

answers:

2

I am trying to debug an android app on nexus one with an hierarchy viewer. I start hierarchy view on desktop, Under 'Devices', I see my phone, but when I click 'Start Server', I see 'version = 2 protocol = 2 version = 2' on the terminal of when I start hierarchy viewer.

But nothing else happens, 'Load Vie Hierarchy' remains disabled.

Can you please tell me how can I get hierarchy viewer to work?

A: 

From the Mark Murphy's book:

Note that you cannot use HierarchyViewer with a production Android device (e.g., T-Mobile G1)

Though, I've been able to run the HierarchyViewer on my handset after installing an unoffical ROM and rooting it. I think it voids the guarantee, though.

Cristian
A: 

You will need to unlock bootloader and root the device. Running hierarchyViewer along totally worth the time.

Alex Volovoy