android jni boolean 方法报错


错误内容

JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x1

解决办法

Java文件native方法定义里面Boolean改成boolean

public native Boolean check();

=>

public native boolean check();

声明:HEUE NOTE|版权所有,违者必究|如未注明,均为原创|本网站采用BY-NC-SA 4.0协议进行授权

转载:转载请注明原文链接 - android jni boolean 方法报错