Skip to content

Build error #2

@MenaRaafat

Description

@MenaRaafat

After following the instructions in the readme file, I still can not successfully build the project.

When trying to sync with Gradle I get:
Unsupported Modules detected
Compilation is not supported for following modules: openCVLibrary331, openCVLibrary300, AndroidFaceDetectOpenCV, app, opencv_android_sample, openCVLibrary343. Unfortunately you can't have non-Gradle Java modules and Android-Gradle modules in one project.

When trying to build I get:
Build command failed.
Error while executing process AppData\Local\Android\Sdk\cmake\3.6.4111459\bin\cmake.exe with arguments {--build D:\AndroidFaceDetectOpenCV-master\app.externalNativeBuild\cmake\debug\x86_64 --target native-lib}

ninja: error: '../../../../src/main/jniLibs/x86_64/libopencv_java3.so', needed by '../../../../build/intermediates/cmake/debug/obj/x86_64/libnative-lib.so', missing and no known rule to make it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions