Last Updated: February 25, 2016
·
12.15K
· bartekfi

Enable hardware keyboard input in Android Emulators

If the keyboard input is not working on your emulator, you can enable it by editing the property

hw.keyboard=yes

in its config.ini file

To do it in all of your emulatros in Mac OS or Linux you can use this terminal command:

for f in ~/.android/avd/*.avd/config.ini; do echo 'hw.keyboard=yes' >> "$f"; done

source: http://stackoverflow.com/questions/11235370/android-emulator-doesnt-take-keyboard-input-sdk-tools-rev-20