When running the ndk-build command I get the following error:
Android NDK: Could not find application project directory !
Android NDK: Please define the
This worked for me. No environment variables and no setups. Go to the root directory where you unzipped ndk on command line and run ndk-build command:
ndk-build NDK_PROJECT_PATH=path to your project
A sample would look like this in my dev machine:
C:\adt-bundle-windows-x86-20140321\android-ndk-r9d>ndk-build NDK_PROJECT_PATH=D: /workspace/naruto
Android NDK: WARNING: APP_PLATFORM android-19 is larger than android:minSdkVersi on 9 in D:/workspace/naruto/AndroidManifest.xml
[armeabi] Compile thumb : ndkfoo <= ndkfoo.c
[armeabi] SharedLibrary : libndkfoo.so
[armeabi] Install : libndkfoo.so => libs/armeabi/libndkfoo.so