Testing android apps with the emulator and not being able to use the normal keyboard to enter text is very annoying and not really efficient. Unfortunately the default device (ATM: Nexus 5) has keyboard input disabled. Enabling it is very easy:
- Go to your user’s home directory and search for a folder .android
- Open the folder and navigate to the folder avd. You will find one folder for each installed device. Open the folder of the device you are using.
- Find the file config.ini and open it in your favourite text editor.
- Search for a line starting with hw.keyboard. Change its value to yes. If the line is not present, add the line hw.keyboard=yes
Done. Start the emulator and you will see that the text input is working.