Why did keyboard input stop working in Android Emulator

Recently upgraded my Android SDK install to r20 and now keyboard input seem to have stopped working with both existing and new AVDs.

Everything was working fine prior to the upgrade.

  • Why is genymotion running so slowly?
  • Updating Eclipse SDK Error
  • UnsupportedMethodException Android Studio 2.2
  • Android Snackbar NullPointerException in Fragment
  • Activity onNewIntent Null Pointer Exception
  • customize Android Facebook Login button
  • Does anyone know what would have caused this? (I’m using ubuntu 12.04 x64).

    Related posts:

    Android Studio: execution failed for task : app:compileDebugAidl FAILED
    Add button to a SlidingDrawer handle?
    Wallpaper Settings force close
    how to fix seekbar-bar-thumb-centering-issues
    'Webpage not available' with WebView.loadData() ONLY in emulator
    How can i get the utm variables on the launch of main activity in android while referred from any ma...
  • What is the difference between getWidth/Height() and getMeasuredWidth/Height() in Android SDK?
  • How to use Phonegap SoftKeyboard Plugin for Android?
  • Android mobile not detecting wireless network created on my laptop
  • Samsung Galaxy 7" (GT-P6210) not detecting for USB debugging?
  • onBackPressed to hide Not destroy activity
  • Delete image thumbnail from gallery when it got hidden
  • 5 Solutions collect form web for “Why did keyboard input stop working in Android Emulator”

    I solved this problem by adding “Keyboard Support” to the AVD within the AVD-Manager and changing the value to “true”.

    Turns out its a change in the default settings for the emulator in r20 of the Android SDK.

    If you want to enable the keyboard for your android virtual device via command line, edit ~/.android/avd/[YOUR_AVD].avd/config.ini and add this to the file:

    hw.keyboard=yes
    

    Restart your AVD and you should be in business.

    If you want to enable the keyboard for your android virtual device via command line, edit~/.android/avd/[YOUR_AVD].avd/config.ini and add this to the file:
    hw.keyboard=yes
    Restart your AVD and you should be in business.

    Or, go to following path(in my case mukesh is user):
    mukesh/.android/avd/[YOUR_AVD].avd/config.ini and add this line
    hw.keyboard=yes

    You can learn more about this from my blog Here

    You need to add a property to your AVD to enable keyboard support.

    1. In Eclipse go to Window > Android Virtual Device Manager
    2. Select your AVD
    3. Click Edit…
    4. In the Hardware section click New..
    5. Property: Keyboard Support
    6. Click OK
    7. Change the value for Keyboard Support to “yes”
    8. Click Edit AVD
    9. Select your AVD
    10. Click Start…
    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.