【发布时间】:2012-10-02 12:36:40
【问题描述】:
我想用一些选项在命令行中创建模拟器,比如hw.mainKeys = false。
我需要它是一个 shell 脚本,以便可以在自动化测试中运行,但是 here 我找不到设置这些值的地方。
android create avd
没有地方指定这些选项。
另一种方法是创建一个“平台”类型的 avd,但是,shell 是一种交互式 shell,对人类来说很好,但对脚本来说很难
Android 4.1 is a basic Android platform.
Do you wish to create a custom hardware profile [no]yes
Name of the AVD being run:
avd.name [<build>]:
是否有一些工具我可以将选项作为参数传递,例如 --hw.mainKeys false ?
【问题讨论】:
标签: android android-emulator automation