Android openCV build error...

Asked 2 years ago, Updated 2 years ago, 76 views

Build command failed. Error while executing process C:\Users\kee\AppData\Local\Android\Sdk\cmake\3.10.2.4988404\bin\ninja.exe with arguments {-C C:\Users\kee\Desktop\OpenCVCameraExample\app.cxx\cmake\debug\armeabi-v7a native-lib} ninja: Entering directory `C:\Users\kee\Desktop\OpenCVCameraExample\app.cxx\cmake\debug\armeabi-v7a'

ninja: error: 'C:/Users/kee/Desktop/OpenCVCameraExample/opencv/native/libs/armeabi-v7a/libopencv_java4.so', needed by 'C:/Users/kee/Desktop/OpenCVCameraExample/app/build/intermediates/cmake/debug/obj/armeabi-v7a/libnative-lib.so', missing and no known rule to make it

I use openCV on Android, but this error comes out.crying It's an error that comes out when I click on the build, but I don't think I can answer even if I google it... Does anyone know about this build?

android opencv

2022-09-20 22:30

1 Answers

I think I need a library compiled with ndk. Find the parent directory where you received the OpenCVCameraExample project or another download page to get a library compiled in ndk.

The file name is https://developer.android.com/ndk/guides/abis?hl=ko#sa You'll normally start with this table name.


2022-09-20 22:30

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.