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
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.