0
votes

I am making this question for future searchers that might be as newbie as me. And also because I have not enough reputation to add comments on other answers.

The problem was that the whereis uiautomatorviewer throwed this path /usr/bin/uiautomatorviewer

Solution

The one that actually does the work is /root/Android/Sdk/tools/bin/uiautomatorviewer

3

3 Answers

1
votes

The problem was that the linux command

whereis uiautomatorviewer

throwed this path /usr/bin/uiautomatorviewer

Solution

The one that actually does the work is /root/Android/Sdk/tools/bin/uiautomatorviewer

0
votes

Paste this in your terminal. It will open the correct Autmator

Android/Sdk/tools/bin/uiautomatorviewer
0
votes

enter image description here

Follow the script mentioned in image