I'm using a library that calls the JNI_CreateJavaVM
function inside the library code. However, I also need some JNI Wrappings and I need to call the same function JNI_CreateJavaVM
to get the JNIEnv*
to my application.
But the second call is failing.
is there any way to do this?
The library does not support getting or setting the JNIEnv*
created inside the library.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…