天天看點

appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

如果您看完我的部落格,解決了您的問題,麻煩關注下我呗~不定期更新軟體測試内容

一.解決opencv4nodejs can not found

1.安裝cmake并配置環境變量

環境:Windows 64位

首先下載下傳CMake官網下載下傳位址:cmake官網

裡面很多版本,根據自己需要版本進行下載下傳。

【注意】選擇好自己電腦是什麼系統,以及是32位還是64位。

appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

下載下傳完成後,輕按兩下進行安裝。

1.歡迎界面。點【next】

2.同意協定。勾選,然後點【next】

3.按圖中紅框勾選,然後點【next】

appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

4.路徑選擇,然後點【next】。

安裝路徑根據自己需要自行修改。【建議】路徑名是在英文路徑下,不要包含中文和空格

5.開始安裝。點【Install】

6.安裝完成。點【Finish】

7.到此CMake3.8.2安裝工作就以完成。 因為在安裝過程中選擇了自動添加環境,是以安裝完後不用手動添加環境了,但是此時必須得重新開機電腦,變量才能使用,否則無法對Cmake安裝進行測試。

2.安裝git并配置環境變量

1.到Git官網下載下傳Git,根據自己需要的來下載下傳 Git官網

appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題
  1. 輕按兩下下載下傳好的Git安裝包,一直下一步就行(也可以自己手動配置)

    3.找到安裝的檔案夾

    appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

4.複制路徑,找到系統的環境變量–将複制的路徑加到path上面

5.打開cmd,輸入 git --version 驗證是否顯示版本号,如果顯示就是安裝配置成功了

3.以管理者權限打開cmd,輸入指令

npm install -g windows-build-tools

4.以管理者權限打開cmd,輸入指令

npm install -g opencv4nodejs

(注意這一步需要翻v牆,不然會報錯,很多人都是卡在了這一步,我無意中發現解決辦法)

二.解決 mjpeg-comsumer cannot be found的問題

這個最簡單,直接安裝即可

安裝:npm i -g mjpeg-consumer

三.解決ffmpeg cannot be found的問題

這裡是CSDN下載下傳連結: ffmpeg

下載下傳後,解壓到檔案夾下,路徑最好不要有中文,然後在系統環境變量path中配置到檔案夾的bin路徑,比如我解壓到

d盤下的software,那麼我的path路徑配置就是

appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

再新開一個cmd視窗輸入ffmpeg -version測試或者appium-doctor,就可以看到成功了

四.解決bundletool.jar cannot be found的問題

在https://github.com/google/bundletool/releases 下載下傳bundletool.jar,

在你的安卓SDK下建立一個bundle-tool檔案夾,然後将這個jar包改名成這個bundletool.jar

放在bundle-tool檔案夾下

添加path路徑,比如我的是

D:\android-sdk_r24.4.1-windows\android-sdk-windows\bundle-tool

修改環境變量中的PATHTEXT添加;.jar

如下圖所示

appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

需要下載下傳gstreamer,到csdn下載下傳對應的版本https://download.csdn.net/download/weixin_47229609/14141863

找到gstreamer路徑,我是在D盤,這個似乎不能選擇安裝路徑,你把安裝包放在哪個盤,他就會裝在哪個盤裡

配置Path系統環境變量

我是

D:\gstreamer\1.0\mingw_x86_64\bin

appium-doctor報錯--xxxx cannot be found解決辦法和檔案下載下傳位址一.解決opencv4nodejs can not found二.解決 mjpeg-comsumer cannot be found的問題三.解決ffmpeg cannot be found的問題四.解決bundletool.jar cannot be found的問題五.解決gst-launch-1.0.exe and gst-inspect-1.0.exe的問題

記住是這個有64的的bin檔案,配置該路徑到path中,

再檢查一下appium-doctor

如果您看完我的部落格,解決了您的問題,麻煩關注下我呗~不定期更新軟體測試内容