JNI警告:太多PopLocalFrame通话的Andr​​oid [英] JNI Warning : Too many PopLocalFrame calls android

查看:627
本文介绍了JNI警告:太多PopLocalFrame通话的Andr​​oid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发一个应用程序,并在画布上绘制SVG文件,线条和图像。我的问题是,当我救我的图,并重新打开它,它给我的警告。

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.

感谢

推荐答案

查找调用PushLocalFrame。它们一般应配对。最有可能你调用PopLocalFrame没有preceding PushLocalFrame。

Look for calls to PushLocalFrame. They should generally be paired. Most likely you're calling PopLocalFrame without a preceding PushLocalFrame.

通常你只能调用到从JNI一些Java code之前调用PushLocalFrame和PopLocalFrame之后。你没有,但它的Java调用清理后,如果你还有更多的本土的东西做的好方法。

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.

这篇关于JNI警告:太多PopLocalFrame通话的Andr​​oid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆