Keyboard stopped working on Intel x86 Android emulator after upgrading to ADT 20

不想你离开。 提交于 2019-12-07 01:46:35

问题


I mean I can't type from my laptop keyboard into android emulator anymore. Virtual and on-screen keyboards are working fine.


回答1:


I had the same problem after upgrading to Tools version 20. I had to Edit the AVD to add an option as follows:

  • From Eclipse, Go to AVD Mananger.
  • Select the particular AVD and click on Edit
  • Go to the Hardware section, click on New.
  • Select the Property Name : Keyboard Support
  • By default, it is added with a value of 'no'. Just click on the value column and change it to 'yes'.
  • Click on Edit AVD again.

This will add a property hw.keyboard=yes in config.ini file for the AVD. And it should work fine from there.



来源:https://stackoverflow.com/questions/11259888/keyboard-stopped-working-on-intel-x86-android-emulator-after-upgrading-to-adt-20

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!