Your build (gradle?) Does not pass the correct path to the root of your project in ndk-build.cmd .
You can run ndk-build.cmd from the command line. Open the cd command line in the folder of your module (it should have a jni folder) and run c:\ndk\ndk-build.cmd , it will use the current path as NDK_PROJECT_PATH
source share