appium 環境安裝

來源:互聯網
上載者:User

標籤:config   jsb   net   diff   form   conf   容量   環境安裝   nbsp   

 

建立AVD

-c  --sdcard  : 指向一個共用的SD儲存卡的路徑,或者是新的SD儲存卡容量大小。

-n  --name    : AVD的名字(該項是必須的)

-a  --snapshot : 在AVD中設定一個快照檔案

-p  --path     : 新建立的AVD的路徑

-f   --force    : 強制建立AVD(若有同名的AVD,則覆蓋)

-s --skin       :建立新的AVD皮膚

-t   --target  : 新建立的AVD的TargetID(此項是必須的,targetID可以Android list targets來判定)

-b  --abi   : AVD 使用的ABI。如果該平台只有一個ABI,預設是自動選擇的ABI

 

建立一個AVD

android create avd -n DroidOrion -t 1 -b armeabi-v7a

使用android list avds  來查看一下:

錯誤總結:

1.如果系統中存在有多個abi時你需要指定其中的一個:

否則就會出錯:

Valid ABIs: armeabi-v7a, x86
Error: This platform has more than one ABI. Please specify one using --abi.
指定方法: -b armeabi-v7a

在使用DroidBox時出現錯誤

 ERROR: Unable to load VM from snapshot. The snapshot has been saved for a different hardware configuration.

記得把快照取消

 

 

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.