160

I'm debugging my Android application using the AVD (Android Virtual Device). When I try to enter text in a text field, my characters are being interpreted as Chinese in the IME.

I don't know how I got into this mode or how to get out of it (I just want to enter alphabetic keys)?

Here's a screen shot:

http://u.go2.me/3cn

4

5 回答 5

203

If you were running monkey at some point, it probably changed the input method — it happens quite often.

You can change the input method by long-pressing on an input field and choosing Input Method → Android Keyboard. I think you can also long-press on the bottom-left key on the virtual keyboard.

Note you can also disable the Japanese and other input methods from being activated entirely via Settings → Keyboard → untick the box next to each IME.

于 2010-02-15T19:00:21.627 回答
6

或者你可以长按一个

Text Field > Input Method > Android Keyboard

请参阅:我无法从我的 Android 模拟器中删除日文 IME

于 2012-10-03T00:44:54.760 回答
6

我有一个非常简单的技巧..我发现..只需转到模拟器中提供的默认浏览器..然后点击浏览器的地址栏..魔术..您的语言现在更改为英文..

于 2011-08-23T05:40:19.237 回答
2

对于模拟器,您可以运行以下两个命令来删除拼音输入法(因此拉丁语将成为默认):

>adb shell

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

#rm /system/app/PinyinIME.apk

相同,但更容易放入 Jenkins:

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

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

您可以首先通过运行检查哪个设备已安装到 /system

#mount

在亚行外壳。

如果您需要删除另一个 IME - 只需在“rm”命令中更改文件名。

注意:这将完全删除拼音输入法。虽然您不完全确定 - 不要在真实设备上执行此操作,因为很难恢复该 IME :)

于 2012-02-03T09:53:26.360 回答
0

我的回答很简单Changing Keyboard & Input Methods to EnglishLanguage English

在此处输入图像描述

于 2014-11-04T05:40:28.800 回答