Hi; I'm using Qt Creater IDE. When I compiled my JNI code for Android ARMv7, I get this error: Cannot find -ljvm.
Whereas I included this parameters in the .pro file: https://paste.ubuntu.com/23787345/
Then I found other jni.h files. They are in that positions:
https://paste.ubuntu.com/23787350/
Also I think I need libjvm.so file for JNI.
libjvm.so file is in that position:
https://paste.ubuntu.com/23787355/
I used this setting: https://paste.ubuntu.com/23786707/ I get this error: JNI_CreateJavaVM was not declared in this scope.
How can I use JNI for Android (call Java codes from C++)? And which should I use jni.h and libjvm.so files?
Thanks.