问题
I am developing an application and drawing SVG files, lines and images on canvas. and my issue is that when i save my diagram and re open it, it gives me the warning.
JNI WARNING: too many PopLocalFrame calls.
does any body have any idea what is this warning says and how can i resolve it. i have goggled it around but have not got satisfactory thing.
Thanks
回答1:
Look for calls to PushLocalFrame. They should generally be paired. Most likely you're calling PopLocalFrame without a preceding PushLocalFrame.
Generally you'll only call PushLocalFrame before calling into some Java code from JNI, and PopLocalFrame afterwards. You don't have to, but it's a good way of cleaning up after the Java call if you've still got more native stuff to do.
来源:https://stackoverflow.com/questions/9275662/jni-warning-too-many-poplocalframe-calls-android