How can I create avd from command line with keyboard support?
I was able to create avd from commandline using:
android create avd
, but开发者_开发技巧 I dont know how to enable keyboard support into this.
Even android documentaion/help doesn't any thing about this.
The documentation for avd actually mentions that an avd has they keyboard turned on by default in the "Setting hardware emulation options" section. If you really want to ensure keyboard support from the command line, you could always edit the config.ini with a text editor like vim and set hw.keyboard = "yes"
.
You can configure a AVD and launch the emulator via the documentation at Managing AVDs from the command line.
If you need a special hardware configuration, answer 'yes' at the "Do you wish to create a custom hardware profile" prompt and when creating the AVD, and then specify the hardware keyboard at the appropriate prompt.
精彩评论