win10命令安裝appium

來源:互聯網
上載者:User

標籤:microsoft   use   nload   dmi   遇到   使用   fir   com   jdk1.8   

前提條件:

1.JDK1.8

2.python

3.android sdk

4..microsoft.net framework 4.5: https://www.microsoft.com/zh-cn/download/confirmation.aspx?id=30653

(安裝Visual C++ Build Tools 也會有的)

5.安裝node.js

https://nodejs.org/download/release/latest/win-x64/

6.安裝VCBuild,如果不安裝會遇到報錯:未能載入Visual C++組件“VCBuild.exe”
(PS:公司電腦遇到這個報錯不管,appium也是安裝成功的,啟動沒發現啥問題。。。後續還不知道)

解決方案一:以管理員身份運行:Windows PowerShell

輸入命令一:npm install --global --production windows-build-tools  (全域安裝windows構建工具)

輸入命令二:npm install -g node-gyp  (編譯 C++ 擴充)

解決方案二:安裝Visual C++ Build Tools :    https://pan.baidu.com/s/1hukvJqG

 

 

正式安裝appium

啟動cmd

1.使用國內代理,輸入命令 : npm --registry http://registry.cnpmjs.org install -g appium

2.輸入命令安裝appium-doctor : npm install -g appium-doctor

3.輸入命令appium 啟動

4.輸入命令 appium-doctor檢測環境

(如果提示不是內部命令,將安裝的路徑放到path中,比如C:\Users\Administrator\AppData\Roaming\npm)

 

參考連結:76919414

                 https://www.jianshu.com/p/cb4e8ff34fa7

                 80280884

win10命令安裝appium

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.