Open RedstoneMedia opened 2 years ago
Hi @RedstoneMedia - I ran into the same issue. You probably need to follow these steps on the README, to add the sdk https://github.com/westracer/flutter_native_opencv/blob/master/README.md?plain=1#L13-L19
To fix this you have to write this code in native_opencv/android/app/build.gradle
file
android {
packagingOptions {
pickFirst 'lib/armeabi-v7a/libopencv_java4.so'
pickFirst 'lib/arm64-v8a/libopencv_java4.so'
pickFirst 'lib/x86/libopencv_java4.so'
pickFirst 'lib/x86_64/libopencv_java4.so'
}
}
Running
flutter build apk --debug
on my Windows 10 system fails with this error :Is this a known issue or am I doing something wrong ?