我已经制作了一个支持字典的SoftKeyboard。键盘在某些设备上运行良好,但在某些设备上却说 - "不幸的是SoftKeyboard已停止工作了#34;当试图设置为默认键盘时。当我在模拟器上测试时,会出现以下logcat错误消息: -
04-23 14:48:52.636 3389-3414/com.MyKeybd.inputmethod.SoftKeyboard E/ActivityThread: Failed to find provider info for com.android.inputmethod.latin.dictionarypack
04-23 14:48:52.636 3389-3414/com.MyKeybd.inputmethod.SoftKeyboard E/BinaryDictionaryGetter: Could not find a dictionary pack
04-23 14:48:52.646 3389-3414/com.MyKeybd.inputmethod.SoftKeyboard E/dalvikvm: dlopen("/data/app-lib/com.MyKeybd.inputmethod.SoftKeyboard-1/libjni_latinime.so") failed: dlopen failed: cannot locate symbol "getpagesize" referenced by "libjni_latinime.so"...
04-23 14:48:52.646 3389-3414/com.MyKeybd.inputmethod.SoftKeyboard E/JniUtils: Could not load native library jni_latinime
04-23 14:48:52.675 3389-3414/com.MyKeybd.inputmethod.SoftKeyboard E/AndroidRuntime: FATAL EXCEPTION: InitializeBinaryDictionary
java.lang.UnsatisfiedLinkError: Native method not found: com.MyKeybd.inputmethod.SoftKeyboard.BinaryDictionary.openNative:(Ljava/lang/String;JJIIII)J
at com.MyKeybd.inputmethod.SoftKeyboard.BinaryDictionary.openNative(Native Method)
at com.MyKeybd.inputmethod.SoftKeyboard.BinaryDictionary.loadDictionary(BinaryDictionary.java:100)
at com.MyKeybd.inputmethod.SoftKeyboard.BinaryDictionary.<init>(BinaryDictionary.java:76)
at com.MyKeybd.inputmethod.SoftKeyboard.DictionaryFactory.createMainDictionaryFromManager(DictionaryFactory.java:60)
at com.MyKeybd.inputmethod.SoftKeyboard.DictionaryFactory.createMainDictionaryFromManager(DictionaryFactory.java:86)
at com.MyKeybd.inputmethod.SoftKeyboard.Suggest$1.run(Suggest.java:137)
这些错误消息是什么?如果这些错误消息在某些设备和模拟器中崩溃应用程序,那么它在我的手机和其他一些设备上如何正常运行?请帮帮我