解決appium-doctor報各種 cannot be found問題


解決appium-doctor報各種 cannot be found問題

 

 

1、opencv4nodejs cannot be found.
cmake --version 查看cmake是否安裝
已安裝執行:npm -g install opencv4nodejs 安裝opencv4nodejs

2、解決 mjpeg-comsumer cannot be found的問題
安裝:npm i -g mjpeg-consumer

3、ffmpeg cannot be found

FFmpeg下載:http://ffmpeg.zeranoe.com/builds/

下載后,解壓:

環境變量的配置:xxx\bin

ok

ffmpeg  –version檢查

 

4、idb and idb_companion are not installed
命令如下:
brew tap facebook/fb
brew install idb-companion
pip3.6 install fb-idb
說明:執行 pip3.6 install fb-idb可能會報-bash: pip3.6: command not found
解決辦法:
配置環境變量
執行 open .bash_profile打開添加
export PYTHON_HOME=/home/dbuser/Python-3.7.3
export PATH=PYTHONHOME/bin:PYTHON_HOME/bin:PYTHON
H

OME/bin:PATH

Python-3.7.3這里是自己安裝的Python版本哦,要改成自己的,同樣

pip3.7這里也是要改成自己的Python版本
后執行使之生效:
source ~/.bash_profile
在執行pip3.7就OK了。
source .bash_profile刷新

5、applesimutils cannot be found
brew tap wix/brew
brew install applesimutils

6、bundletool.jar cannot be found
在https://github.com/google/bundletool/releases 下載bundletool.jar,
改名成這個bundletool
在android sdk目錄下,創建bundle-tool目錄,把jar包放入,
在終端切換到當前目錄下
並執行chmod +x bundletool.jar命令給jar包加權限
修改環境變量,path后追加,:$ANDROID_HOME/bundle-tool/,

source .bash_profile刷新

最后上面操作都不行,只能卸載appium和appium-Python-client,網上重新找了低版本的appium(https://pan.baidu.com/s/1pKMwdfXAppiumForWindows_1_4_16_1.zip 。

安裝並配置環境變量,在dos下運行appium-doctor,終於成功

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM