问题描述
当我在物理键盘上使用模拟器时,我注意到在EditTexts上未记录或接收Shift-B.
I noticed that Shift-B is not being recorded or received on EditTexts when I am using the emulator with my physical keyboard.
- 键盘在所有其他程序的其他位置都可以正常工作-"B"-见!
- 小写字母"b"在任何地方都可以正常使用
- 除"B"外,所有其他SHIFT字母字符均可通过键盘工作
- 在IME(软键盘)上单击shift-B可以正常工作
- 按下SHIFT-b时,
onKeyListener.onKey()
收到keyCode为0
- Keyboard works fine elsewhere in all other programs - "B" - see!
- Lower-case ''b' works fine everywhere
- All other SHIFT alphabet characters work from the keyboard except "B"
- Clicking on shift-B on the IME (soft keyboard) works fine
- When pressing SHIFT-b, the
onKeyListener.onKey()
receives a keyCode of 0
我已经广泛使用Android Studio和模拟器一年了,现在才注意到这一点.我不确定它什么时候开始.
I have used Android Studio and the Emulator extensively for a year and just now noticed this. I am not sure when it began.
我退出并重新启动了Android Studio和仿真器,但无济于事.
I have quit and restarted Android Studio and the Emulator to no avail.
我想我有一个因意外或损坏而弄乱的键映射,但是我不知道从哪里开始修复它.
I am guessing that I somehow have a key map messed up by accident or corruption, but I do not know where to begin fixing this.
推荐答案
这是模拟器中的一个错误,已在上周发布的27.0.5中修复.
This was a bug in the emulator and was fixed in 27.0.5 that was released in the past week.
这篇关于Android Studio模拟器中的IME无法响应键盘上的Shift-B的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!