Why is my Android emulator keyboard in Chinese character mode?

后端 未结 5 1617
北荒
北荒 2020-11-28 04:15

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 th

5条回答
  •  Happy的楠姐
    2020-11-28 04:42

    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

    # mount

    in adb shell.

    If you need to remove another IME - just change a filename in "rm" command.

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

提交回复
热议问题