Skip to content
Advertisement

error: JNINativeMethod nfptr throwing invalid conversion from jobjectarray* to void*

I hava following simple jni application:

JavaScript

when i compile the code as follow it give me “error: invalid conversion from jobjectarray* to void*”

JavaScript

Advertisement

Answer

as @Michael said, just need a void* casting:

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement