Perhaps you are running Eclipse and trying to use the command-line hierarchyviewer program. Either use the Hierarchy View perspective in Eclipse, or shut down Eclipse when you run hierarchyviewer.
Beyond that, I have no suggestions. On Wed, Mar 30, 2011 at 9:33 AM, Alaeddine Ghribi <[email protected]> wrote: > Thank you for your response, i now know what i have to do => just run > the app in the emulator and go to the hierarchy View. > I have however an error: > [2011-03-30 13:42:40 - hierarchyviewer]Unable to debug device > emulator-5554 > > Why ? > Thanks . > > On 30 mar, 13:40, Mark Murphy <[email protected]> wrote: >> On Wed, Mar 30, 2011 at 8:36 AM, Alaeddine Ghribi >> >> <[email protected]> wrote: >> > And how to add the XMl file to the Hierarchy View ? >> >> You don't "add the XMl file to the Hierarchy View ?". >> >> You use the Hierarchy View tool to inspect your layout as it is >> running in your activity to determine where you are going wrong. >> >> Please read the documentation for more information: >> >> http://developer.android.com/guide/developing/debugging/debugging-ui.... >> >> -- >> Mark Murphy (a Commons >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy >> >> _The Busy Coder's Guide to *Advanced* Android Development_ Version >> 1.9.2 Available! > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9.2 Available! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

