Missing forwarded port in Hierarchy Viewer : Using Android Studio
<p>I am using Android device monitor in Android Studio to use Hierarchy Viewer.<br> I have followed this <a href="https://developer.android.com/studio/profile/hierarchy-viewer-setup.html" rel="nofollow noreferrer">link.</a> <br>Everything else is verified - adb, environment variable , etc.
I get following error: <br></p>

<pre><code>Missing forwarded port for 33002242e81572f9
[2016-10-20 12:29:20 - hierarchyviewer]Unable to get view server version from device 33002242e81572f9
[2016-10-20 12:29:20 - hierarchyviewer]Missing forwarded port for 33002242e81572f9
[2016-10-20 12:29:20 - hierarchyviewer]Unable to get view server protocol version from device 33002242e81572f9
[2016-10-20 12:29:20 - ViewServerDevice]Unable to debug device: sm_t815y-33002242e81572f9
</code></pre>

<p>I searched for solution but only found <a href="https://stackoverflow.com/questions/7801427/hierarchy-is-not-working-for-my-device">workarounds</a>, any help apreciated.</p>