android 编译PinyinIME输入法报错
1、错误提示
C:/SVN/CustomPinyinIME/app/src/main/cpp/android/com_android_inputmethod_pinyin_PinyinDecoderService.cpp:217:65: error: cannot initialize a parameter of type 'jboolean *' (aka 'unsigned char *') with an rvalue of type 'bool'
2、找到这行编译错误的代码
JNIEXPORT jint JNICALL nativeImGetPredictsNum(JNIEnv *env, jclass clazz,
jstring fixed_str) {
char16 *fixed_ptr = (char16*)(*env).GetStringChars(fixed_str, false);
size_t fixed_len
共有 0 条评论