如何确定appium是否安装成功20170819 09:24
答案:1 悬赏:40 手机版
解决时间 2021-11-22 10:40
- 提问者网友:放下
- 2021-11-22 05:35
如何确定appium是否安装成功20170819 09:24
最佳答案
- 五星知识达人网友:煞尾
- 2021-11-22 07:07
直接输入版本号查看
$ appium --version
1.6.4最保险的是使用appium-doctor检查appium整体的可用环境
$ appium-doctor
info AppiumDoctor Appium Doctor v.1.2.5
info AppiumDoctor ### Diagnostic starting ###
info AppiumDoctor ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor ✔ Xcode Command Line Tools are installed.
info AppiumDoctor ✔ DevToolsSecurity is enabled.
info AppiumDoctor ✔ The Authorization DB is set up properly.
info AppiumDoctor ✔ The Node.js binary was found at: /usr/local/bin/node
info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
info AppiumDoctor ✔ HOME is set to: /Users/johnhao
info AppiumDoctor ✔ ANDROID_HOME is set to: xxx/android-sdk-macosx/
info AppiumDoctor ✔ JAVA_HOME is set to: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/
info AppiumDoctor ✔ adb exists at: xxx/platform-tools/adb
info AppiumDoctor ✔ android exists at: xxx/android-sdk-macosx/tools/android
info AppiumDoctor ✔ emulator exists at: xxx/android-sdk-macosx/tools/emulator
info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set
info AppiumDoctor ### Diagnostic completed, no fix needed. ###
info AppiumDoctor
info AppiumDoctor Everything looks good, bye!
info AppiumDoctor
$ appium --version
1.6.4最保险的是使用appium-doctor检查appium整体的可用环境
$ appium-doctor
info AppiumDoctor Appium Doctor v.1.2.5
info AppiumDoctor ### Diagnostic starting ###
info AppiumDoctor ✔ Xcode is installed at: /Applications/Xcode.app/Contents/Developer
info AppiumDoctor ✔ Xcode Command Line Tools are installed.
info AppiumDoctor ✔ DevToolsSecurity is enabled.
info AppiumDoctor ✔ The Authorization DB is set up properly.
info AppiumDoctor ✔ The Node.js binary was found at: /usr/local/bin/node
info AppiumDoctor ✔ Carthage was found at: /usr/local/bin/carthage
info AppiumDoctor ✔ HOME is set to: /Users/johnhao
info AppiumDoctor ✔ ANDROID_HOME is set to: xxx/android-sdk-macosx/
info AppiumDoctor ✔ JAVA_HOME is set to: /Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home/
info AppiumDoctor ✔ adb exists at: xxx/platform-tools/adb
info AppiumDoctor ✔ android exists at: xxx/android-sdk-macosx/tools/android
info AppiumDoctor ✔ emulator exists at: xxx/android-sdk-macosx/tools/emulator
info AppiumDoctor ✔ Bin directory of $JAVA_HOME is set
info AppiumDoctor ### Diagnostic completed, no fix needed. ###
info AppiumDoctor
info AppiumDoctor Everything looks good, bye!
info AppiumDoctor
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯