Hierarchical viewer does not work with emulator

I'm having difficulty running the Hierarchy Viewer program with an emulator. I get these error messages, but I don’t understand how I can resolve them:

[2014-01-22 09:47:47 - hierarchyviewer]Unable to get view server protocol version from device emulator-5554 [2014-01-22 09:47:47 - ViewServerDevice]Unable to debug device: emulator-5554 [2014-01-22 09:47:48 - hierarchyviewer]Missing forwarded port for emulator-5554 [2014-01-22 09:47:48 - hierarchyviewer]Unable to get the focused window from device emulator-5554 

I tried in Eclipse as well as from Android Device Monitor, I restarted adb in and out of Eclipse, as well as sudo or not sudo. None of these things mattered. I could not find anyone else having these problems, so it was assumed that some platform / installation problems (I use the latest Android SDK and Linux Mint 16 updates), however on a Windows 7 machine with an older (not updatable SDK) and got the same result.

Please, does anyone know the internal mechanics of these messages, can anyone suggest steps to diagnose / fix the problem?

thanks for the help!

+8
android
source share

No one has answered this question yet.

See related questions:

3295
Why is the Android emulator so slow? How can we speed up Android emulator development?
935
Cannot start Eclipse - Java was started, but returned exit code = 13
687
Android error: Failed to install * .apk on device *: timeout
314
Android emulator doesn't use keyboard - SDK rev 20 tools
291
Android ADB device offline, cannot issue commands
39
hierarchy for my device is not working
31
Android hierarchy cannot load window data
2
Starting a hierarchy view
one
Androidn Studio Hierarchy Viewer does not work with emulator
0
how to disable hierarchy viewer in eclipse

All Articles