问题:
JNI ERROR (app bug): accessed stale local reference 0x1d (index 7 in a table of size 1)
JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x1d
定位到出问题的代码:
原因:linux中局部变量不能跨进程操作
解决办法:为局部变量创建全局变量
操作完需要释放该内存
问题:
JNI ERROR (app bug): accessed stale local reference 0x1d (index 7 in a table of size 1)
JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x1d
定位到出问题的代码:
原因:linux中局部变量不能跨进程操作
解决办法:为局部变量创建全局变量
操作完需要释放该内存