UIAutomatorViewer in Mac… here is a solution to the problem.
UIAutomatorViewer in Mac
I’m trying to run UIAutomatorViewer on my mac but can’t recognize commands that follow the environment variable I defined:
export ANDROID_HOME = / Users / jribeiro / Library / Android / sdk
export PATH = $ {PATH}: $ {ANDROID_HOME} / emulator
export PATH = $ {PATH}: $ {ANDROID_HOME} / tools
export PATH = $ {PATH}: $ {ANDROID_HOME} / tools / bin
export PATH = $ {PATH}: $ {ANDROID_HOME} / platform-tools
export JAVA_HOME = / Library / Java / JavaVirtualMachines / jdk1.8.0_261.jdk / Contents / Ho $
export PATH = $ {PATH}: $ JAVA_HOME / bin
export PATH = ~ / Library / Android / sdk / platform-tools: / usr / local / bin: / usr / bin: / bin: / $
Can someone call UIAutomatorView for me?
Solution
Download the appium desktop app > Start the server > Click the search icon on the app > to open UI automator View.
and then start it by executing Library/
Android/sdk/tools/ bin/uiautomatorviewer
You can check your uiautomatorviewer .bat in Library/Android/sdk/tools/bin/