当前位置: 代码迷 >> Android >> [android]android自动化测试7之动态AVD硬件参数
  详细解决方案

[android]android自动化测试7之动态AVD硬件参数

热度:95   发布时间:2016-05-01 19:53:54.0
[android]android自动化测试七之动态AVD硬件参数
android create avd --target android-8 --name test2  -c 512m -f
1.当你使用以上命令时android会提示:

Auto-selecting single ABI armeabi
Android 2.3.3 is a basic Android platform.
Do you wish to create a custom hardware profile [no]

2.这里你需要输入no来让android自动选择硬件配置,也可以输入yes然后选择,当然我推荐选择no

echo no | android create avd --target android-8 --name test2  -c 512m -f


3.这是android AVD产生在根目录.android文件夹下/home/eamon/.android/avd

4.进入你的avd文件夹,修改config.ini中内容,实现动态创建AVD的硬件参数
  相关解决方案