Change the AVD default value and rebuild the emulator:
nano external/qemu/android/avd/hardware-properties.ini
# From
# Keyboard support (qwerty/azerty)
name = hw.keyboard
type = boolean
default = no
abstract = Keyboard support
description = Whether the device has a QWERTY keyboard.
# To
# Keyboard support (qwerty/azerty)
name = hw.keyboard
type = boolean
default = yes
abstract = Keyboard support
description = Whether the device has a QWERTY keyboard.