I have a linker error when trying to build my JNI application:
undefined refer开发者_如何转开发ence to `JNI_GetCreatedJavaVMs'
From this thread I figured out that I need to use libdvm.so to resolve the issue. But I can't figure out where the libdvm.so is located.
I'm using Android NDK r6 on MacOS.
libdvm.so
is part of Android's full build and it is available in build output folder at:
out/target/product/*/symbols/system/lib/libdvm.so
精彩评论