问题
I just updated to the latest SDK version 16 created a new version of an AVD using the latest version of the API (16) and my hardware keyboard doesn't work anymore on the emulator (even my other avd using an older version of the sdk).
Any ideas how to fix this?
回答1:
Do you have "Keyboard Support" hardware property set to "yes" for your AVD? Last time I updated Android SDK etc. the process trashed my adb configuration. So maybe it influenced your other emulator as well.
回答2:
Go into the config.ini and added the line for the keyboard support i have to do this for my others avd devices as well to make them all work!
Add: hw.keyboard=yes
To: ~/.android/avd/<emulator-device-name>.avd/config.ini
回答3:
Go to AVD Manager > select AVD > Edit > in Hardware section press New > select Keyboard Support > press Ok > change it's value to Yes. That's it.
回答4:
Go to eclipse's List(which is display on top) select:
- Window
- select AVD Manager
- now Select AVD from next Created Window
- go to Edit(from right side window)
- now in hardware selection menu
- support Keyboard
- select ok
- now click on selected keyboard
- select yes from list
来源:https://stackoverflow.com/questions/11564649/eclipse-android-emulator-keyboard-not-working