Jadav Bheda
Jadav Bheda

Reputation: 5311

creating avd from command line with keyboard support

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.

Upvotes: 6

Views: 3326

Answers (2)

Jon Adams
Jon Adams

Reputation: 25137

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.

Upvotes: 1

Jwsonic
Jwsonic

Reputation: 307

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".

Upvotes: 3

Related Questions