英文:
UIAutomatorViewer In mac
问题
我正在尝试在我的Mac上运行UIAutomatorViewer,但命令未被识别,以下是我的定义的环境变量:
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/Home
export PATH=${PATH}:${JAVA_HOME}/bin
export PATH=~/Library/Android/sdk/platform-tools:/usr/local/bin:/usr/bin:/bin:/$
有人可以帮助我调用UIAutomatorView吗?
英文:
I am trying to run UIAutomatorViewer on my mac, but the command is not recognized follows my defined environment variables:
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 help me to call the UIAutomatorView ?
答案1
得分: 2
-
下载 Appium Desktop 应用 > 启动服务器 > 点击应用中的搜索图标 > 打开 UI 自动化查看器。
-
您可以首先检查位于
Library/Android/sdk/tools/bin/
目录下的uiautomatorviewer.bat
文件,并通过执行Library/Android/sdk/tools/bin/uiautomatorviewer
启动相同的工具。
英文:
-
Download the appium desktop app > Start server > click on search icon on the app > UI automator view is opened.
-
You can first check your uiautomatorviewer.bat at
Library/Android/sdk/tools/bin/
and can start the same by executingLibrary/Android/sdk/tools/bin/uiautomatorviewer
.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论