Unable to start uiautomatorviewer

Mellon picture Mellon · Sep 6, 2013 · Viewed 42k times · Source

I have :

  • Android SDK Tools, Revision 22

  • Android SDK Platform, API 18

I go to <android-sdk>/tools/ , I see there is one file named "uiautomatorviewer",

I execute command uiautomatorviewer from terminal under the above path, however I got the following message:

uiautomatorviewer: command not found

why?

Answer

Leszek Jasek picture Leszek Jasek · May 4, 2017

Please note that uiautomatorviewer executable has been moved in SDK Tools Revision 25.3.0 update (Feb 2017) to new location under <android-sdk>\tools\bin