zoukankan      html  css  js  c++  java
  • 解决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/

    下载后,解压:

    环境变量的配置:xxxin

    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,终于成功

  • 相关阅读:
    数据校验
    Struts2中OGNL
    Struts2 入门(新手必看)
    transactionManager 以及datasource type解析
    MyBatis
    rails 布署
    ubuntu ssh
    ubutun 下配置php和postgresql
    MS SQL 数据库所在C盘变得很大解决办法
    将表里的数据批量生成INSERT语句的存储过程 增强版
  • 原文地址:https://www.cnblogs.com/sasa-python/p/12713535.html
Copyright © 2011-2022 走看看