“在Android 10上对`jniThrowException @ LIBNATIVEHELPER_1'的未定义引用错误?

时间:2019-12-16 09:05:48

标签: android android-ndk

我的模块在android 10之前运行良好,但是当我为android 10构建它时,出现了以下消息:

../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniThrowException@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniThrowNullPointerException@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniGetReferent@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniGetNioBufferBaseArrayOffset@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'JniInvocationCreate@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniThrowIOException@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniLogException@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniGetNioBufferBaseArray@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniGetFDFromFileDescriptor@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'JniInvocationDestroy@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'JniInvocationInit@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniThrowExceptionFmt@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'JNI_CreateJavaVM@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniThrowRuntimeException@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniSetFileDescriptorOfFD@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniCreateFileDescriptor@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniGetNioBufferPointer@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniGetNioBufferFields@LIBNATIVEHELPER_1'
../android-libs-arm64-v8a/libandroid_runtime.so: undefined reference to 'jniRegisterNativeMethods@LIBNATIVEHELPER_1'

0 个答案:

没有答案
相关问题