Error: JNI ERROR (app bug): accessed stale global reference

后端 未结 4 1667
难免孤独
难免孤独 2020-12-16 14:39

I am getting this error JNI ERROR (app bug): accessed stale global reference When I run my app in Android OS v4, But when I run the same application in Andr

4条回答
  •  遥遥无期
    2020-12-16 15:00

    This error occurs when you call a method with an incorrect parameter type.

    Addition, in this case you may be register the native method on Java code different from the native code. The difference can be you declare more or less parameters between the Java code and native code.

提交回复
热议问题