Eclipse Android 模拟器 - 键盘不工作

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11564649/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:38:06  来源:igfitidea点击:

Eclipse Android Emulator - Keyboard not working

androideclipsekeyboardadt

提问by Jerome Ansia

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).

我刚刚更新到最新的 SDK 版本 16 使用最新版本的 API (16) 创建了一个新版本的 AVD,我的硬件键盘在模拟器上不再工作(甚至我的另一个 avd 使用旧版本的 sdk )。

Any ideas how to fix this?

任何想法如何解决这一问题?

采纳答案by Jerome Ansia

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!

进入 config.ini 并添加键盘支持行,我必须为我的其他 avd 设备执行此操作,以使它们都能正常工作!

Add: hw.keyboard=yes

添加: hw.keyboard=yes

To: ~/.android/avd/<emulator-device-name>.avd/config.ini

到: ~/.android/avd/<emulator-device-name>.avd/config.ini

回答by wojciii

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.

您是否将 AVD 的“键盘支持”硬件属性设置为“是”?上次我更新了 Android SDK 等。这个过程破坏了我的 adb 配置。所以也许它也影响了你的其他模拟器。

回答by Ravi K. Sharma

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.

转到 AVD 管理器 > 选择 AVD > 编辑 > 在硬件部分按新建 > 选择键盘支持 > 按确定 > 将其值更改为是。就是这样。

回答by Akram regard

Go to eclipse's List(which is display on top) select:

转到 eclipse 的列表(显示在顶部)选择:

  1. Window
  2. select AVD Manager
  3. now Select AVD from next Created Window
  4. go to Edit(from right side window)
  5. now in hardware selection menu
  6. support Keyboard
  7. select ok
  8. now click on selected keyboard
  9. select yes from list
  1. 窗户
  2. 选择 AVD 管理器
  3. 现在从下一个创建的窗口中选择 AVD
  4. 转到编辑(从右侧窗口)
  5. 现在在硬件选择菜单中
  6. 支持键盘
  7. 选择确定
  8. 现在单击选定的键盘
  9. 从列表中选择是