appium 环境安装windows

 

建立AVD

-c  --sdcard  : 指向一个共享的SD存储卡的路径,或者是新的SD储存卡容量大小。android

-n  --name    : AVD的名字(该项是必须的)spa

-a  --snapshot : 在AVD中设置一个快照文件.net

-p  --path     : 新建立的AVD的路径orm

-f   --force    : 强制建立AVD(如有同名的AVD,则覆盖)blog

-s --skin       :建立新的AVD皮肤ci

-t   --target  : 新建立的AVD的TargetID(此项是必须的,targetID能够Android list targets来断定)get

-b  --abi   : AVD 使用的ABI。若是该平台只有一个ABI,默认是自动选择的ABIit

 

建立一个AVDio

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

 

使用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.

相关文章
相关标签/搜索