Developer Notes

Enabling hardware keyboard support for Android emulator in Linux

Support for the hardware keyboard is no longer enabled by default in Android Virtual Devices (AVDs). If you want to enable keyboard support for an existing AVD, you can simply edit the configuration file of the AVD:

  1. Go to your Android installation root. By default, this is ~/.android/.
  2. Find the AVD in ~/.android/avd/ and go to that directory. For example, this would be ~/.android/avd/android-23.avd/ if the name of the AVD is “android-23”.
  3. Edit config.ini and look for the line hw.keyboard = no. Replace this to hw.keyboard = yes.
  4. Restart the AVD.

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Articles

Want your website to turn up in Google Search results? You can submit your website for indexing in Google Search
Occasionally, we need to bring our website visitors to a maintenance page. Don't worry, you can spin up a Maintenance
When you are deploying changes to a WordPress website, you might encounter an error about PHP's upload_max_filesize. Here is one
After installing Android Studio in Ubuntu, you might experience getting a blank screen instead of the Android Studio Setup Wizard.
It might surprise you how much storage space Snap packages use. You will most likely find that your Snap packages
The Loop Grid widget allows you to set the total number of items to load and display in the Loop

Recent Articles

Topics

Related Topics