Skip to content

Project Build failing #2802

@sonusourav

Description

@sonusourav

Describe the chore
The present information in the readme is not complete to set up a project on a local machine. It shows errors related to NDK. Even after following all the instructions mentioned on the current Readme.md file, errors come up on run time.

This is the error that is thrown:

Build command failed.
Error while executing process C:\Users\sonus\AppData\Local\Android\Sdk\ndk-r18b\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\phimpme-android\app\src\main\jni\Android.mk NDK_APPLICATION_MK=D:\phimpme-android\app\src\main\jni\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=D:/phimpme-android/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\phimpme-android\app\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
Android NDK: ERROR:D:\phimpme-android\app\src\main\jni\Android.mk:opencv_dnn: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that D:/phimpme-android/app/src/main/jni/../staticlibs/armeabi-v7a/libopencv_dnn.a exists or that its path is correct

process_begin: CreateProcess(NULL, "", ...) failed.
C:/Users/sonus/AppData/Local/Android/Sdk/ndk-r18b/build//../build/core/prebuilt-library.mk:45: * Android NDK: Aborting . Stop.

Would you like to work on the issue?

  • Yes
  • No

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions