Trying to run project from Visual Studio Code on Windows 10
I have upgraded compileSDKVersion to 33
ext.kotlin_version = '1.9.0'
Device is a Galaxy S23 Ultra
Then when I select main.dart and right-click for Start Debugging it fails with:
cmd.exe /C "cd . && C:\Users\Patrik\AppData\Local\Android\Sdk\ndk\21.4.7075529\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++.exe --target=aarch64-none-linux-android30 --gcc-toolchain=C:/Users/Patrik/AppData/Local/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64 --sysroot=C:/Users/Patrik/AppData/Local/Android/Sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/windows-x86_64/sysroot -fPIC -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -frtti -fexceptions -std=c++17 -O0 -fno-limit-debug-info -Wl,--exclude-libs,libgcc.a -Wl,--exclude-libs,libgcc_real.a -Wl,--exclude-libs,libatomic.a -Wl,--build-id -Wl,--fatal-warnings -Wl,--no-undefined -Qunused-arguments -shared -Wl,-soname,libOpenCV_ffi.so -o C:\Workspaces\Playground\Dart\flutter_opencv_image_stitch-main\build\app\intermediates\cxx\Debug\6h4j2865\obj\arm64-v8a\libOpenCV_ffi.so CMakeFiles/OpenCV_ffi.dir/C_/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/main.cpp.o ../../../../../src/main/jniLibs/arm64-v8a/libopencv_java4.so -latomic -lm && cd ."
CMakeFiles/OpenCV_ffi.dir/C_/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/main.cpp.o: In function process_stitching(std::__ndk1::vector<cv::Mat, std::__ndk1::allocator<cv::Mat> >)': C:/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/stitch.cpp:48: undefined reference to
cv::Stitcher::create(cv::Stitcher::Mode)'
C:/Workspaces/Playground/Dart/flutter_opencv_image_stitch-main/lib/opencv-cpp/stitch.cpp:49: undefined reference to `cv::Stitcher::stitch(cv::_InputArray const&, cv::_OutputArray const&)'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
2
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
BUILD FAILED in 6s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)
Any help would be appreciated