Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run hierarchy view with Nexus One

Tags:

android

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 View Hierarchy' remains disabled.

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

like image 422
michael Avatar asked Nov 30 '22 18:11

michael


1 Answers

Or include the ViewServer into your application. Then you can use the hierarchy viewer on any device. But only for your own app.

https://github.com/romainguy/ViewServer

ADT version 12 required.

like image 58
Peter Fortuin Avatar answered Dec 05 '22 05:12

Peter Fortuin