The installation of uiautomatorviewer is described here https://greenspector.atlassian.net/wiki/spaces/DOCUMENTATION/pages/2828206081