Android - 无法打开 keycharmap 文件
Posted
技术标签:
【中文标题】Android - 无法打开 keycharmap 文件【英文标题】:Android - Can't open keycharmap file 【发布时间】:2012-08-15 17:14:39 【问题描述】:我的应用程序中有 C2DM 功能,有时在收到推送通知后,该活动从未出现。当我检查 logcat 时,我发现:
08-15 12:55:29.213: W/KeyCharacterMap(10661): Can't open keycharmap file
08-15 12:55:29.213: W/KeyCharacterMap(10661): Error loading keycharmap file '/data/usr/keychars/mapphone-switch.kcm.bin'. hw.keyboards.131072.devname='mapphone-switch'
08-15 12:55:29.213: W/KeyCharacterMap(10661): Can't open keycharmap file
08-15 12:55:29.213: W/KeyCharacterMap(10661): Error loading keycharmap file '/system/usr/keychars/mapphone-switch.kcm.bin'. hw.keyboards.131072.devname='mapphone-switch'
08-15 12:55:29.213: W/KeyCharacterMap(10661): Can't open keycharmap file
08-15 12:55:29.213: W/KeyCharacterMap(10661): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
08-15 12:55:31.494: W/KeyCharacterMap(10661): Can't open keycharmap file
08-15 12:55:31.494: W/KeyCharacterMap(10661): Error loading keycharmap file '/data/usr/keychars/omap-keypad.kcm.bin'. hw.keyboards.0.devname='omap-keypad'
08-15 12:57:58.432: W/KeyCharacterMap(10661): Can't open keycharmap file
08-15 12:57:58.432: W/KeyCharacterMap(10661): Error loading keycharmap file '/data/usr/keychars/atmxt-i2c.kcm.bin'. hw.keyboards.65537.devname='atmxt-i2c'
08-15 12:57:58.432: W/KeyCharacterMap(10661): Can't open keycharmap file
08-15 12:57:58.432: W/KeyCharacterMap(10661): Error loading keycharmap file '/system/usr/keychars/atmxt-i2c.kcm.bin'. hw.keyboards.65537.devname='atmxt-i2c'
08-15 12:57:58.432: W/KeyCharacterMap(10661): Can't open keycharmap file
08-15 12:57:58.432: W/KeyCharacterMap(10661): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
所以呃....这是什么意思?我搜索了一下,找到了这个答案:android can't open keycharmap file
但是,该问题的唯一答案中包含损坏的 URL。
有人知道吗: 1 这个错误意味着什么, 2 如何修复它,以及 3 如果它干扰了我的推送通知活动?
提前谢谢各位!
【问题讨论】:
我认为它不会干扰您的 c2dm 通知 我的所有应用程序都出现此错误。它不会引起任何问题,只是似乎是系统消息。我认为它不会干扰您的应用。 【参考方案1】:在 Android 项目首选项中更改为 Google API 为我解决了这个问题。
【讨论】:
以上是关于Android - 无法打开 keycharmap 文件的主要内容,如果未能解决你的问题,请参考以下文章
Android:无法在 android studio 中打开 eclipse 项目