【问题标题】:How to add Keyboard language on AndroidTV emulator?如何在 AndroidTV 模拟器上添加键盘语言?
【发布时间】:2018-05-21 08:52:00
【问题描述】:

我正在开发 AndroidTV 应用程序。我需要将另一种语言的字符输入EditText(在我的情况下是俄语)。有什么办法可以做到吗?

仅键入俄语不会产生任何效果。我也尝试通过adb input text,但由于文本包含俄语字符,它会被杀死。

generic_x86:/ # whoami                                                                                                                     
root
generic_x86:/ # input text 'пвыа'                                                                                                          
Killed 
137|generic_x86:/ # input text 'sdf'                                                                                                       
generic_x86:/ # 

我也没有找到添加新键盘布局的方法,我搜索了它,但到目前为止还没有运气。

【问题讨论】:

    标签: android-emulator android-tv


    【解决方案1】:

    使用 api 28 基础模拟器。

    设置 -> 设备偏好 -> 键盘 -> Gboard 设置 -> 语言 -> 用您的语言替换英语

    【讨论】:

      猜你喜欢
      • 2013-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-11-30
      • 2021-03-22
      相关资源
      最近更新 更多