android jni boolean 方法运行报错崩溃

  • Post author:
  • Post category:其他




错误内容

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



解决办法

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

public native Boolean check();

=>

public native boolean check();



版权声明:本文为qq_33593432原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。