简体   繁体   English

eclipse-卡在中文的Android虚拟设备中

[英]eclipse - stuck with chinese in android virtual device

When I run my android emulator in eclipse, all my keyboard characters gets translated to chinese when I try to write text. 当我在Eclipse中运行android仿真器时,当我尝试编写文本时,我所有的键盘字符都会被翻译成中文。 Why is this? 为什么是这样?

Thanks 谢谢

  1. Tap & hold on an EditText 点击并按住EditText
  2. Select Input Method 选择输入法
  3. Select Android Keyboard 选择Android键盘

For emulator you can run such two commands to remove Pinyin IME (so latin would become default): 对于仿真器,您可以运行以下两个命令来删除拼音输入法编辑器(这样拉丁文将成为默认设置):

> adb shell

# mount -rw -o remount /dev/block/mtdblock0 /system

# rm /system/app/PinyinIME.apk

the same, but easier to put into Jenkins: 相同,但更容易放入詹金斯:

> adb shell mount -rw -o remount /dev/block/mtdblock0 /system

> adb shell rm /system/app/PinyinIME.apk

You can first check which device is mounted to /system by running 您可以先通过运行以下命令检查将哪个设备安装到/ system

# mount

in adb shell. 在adb shell中。

If you need to remove another IME - just change a filename in "rm" command. 如果您需要删除另一个IME-只需在“ rm”命令中更改文件名即可。

Note: this will remove Pinyin IME completely. 注意:这将完全删除拼音输入法编辑器。 While you're not completely sure - don't do it on real devices as it would be hard to bring that IME back :) 虽然您不太确定-请勿在实际设备上进行操作,因为很难恢复该IME :)

What do you mean it gets translated to Chinese? 你是什​​么意思翻译成中文? From home screen, press Menu, Settings, Language and Keyboard..maybe you can tweak the settings there? 在主屏幕上,按菜单,设置,语言和键盘..也许您可以在那里调整设置?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM