How to run UIautomatorviewer on mac

--

Step 1: In terminal type below

sudo vi ~/.profile

Step 2: make all export value set as below

Edit : Press “i”

Save : Press “ESC” then type “:wq” then hit enter

Apply change : type “source ~/.profile”

Check Java Change : type “java -version”

Navigate to UIAutomatorViewer folder as below

cd ~/Library/Android/sdk/tools/bin/

Then type “uiautomatorviewer” then programe will shown.

--

--

No responses yet