赞
踩
最近遇到一个JNI的问题,一套代码在Android上首次运行是OK的,但是在第二次运行之后设备就会崩溃,查看logcat发现报JNI DETECTED ERROR IN APPLICATION错误。
(1)错误:
accessed stale local reference 0x57200019 (index 6 in a table of size 6)
JNI DETECTED ERROR IN APPLICATION: jclass is an invalid local reference in call to CallStaticObjectMethod from void com.org.vincent.ccalljava.JNI.getTime()
JNI DETECTED ERROR IN APPLICATION: calling
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。