我的应用中有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
所以......这是什么意思?我用Google搜索,找到了这个答案:Android can't open keycharmap file
但是,该问题的唯一答案是其中包含损坏的网址。
有人知道吗: 1这个错误意味着什么, 2如何解决它,以及 3如果它干扰我的推送通知活动?
先谢谢你们!
答案 0 :(得分:0)
在Android项目偏好设置中更改为Google API会为我解决此问题。