Amusing windows xp, cygwin & ndk for my project. I mapped all path in the cygwin.batch file. I am trying to compile hello-jni by cygwin.
Contents of cygwin.bat
@echo off
F:
chdir F:\Cygwin\bin
bash --login -i
set IS_UNIX=
set DEV_ROOT=E:/android/android-ndk-r5b/samples/hello-jni
set JAVA_HOME=C:/Program Files/Java/jdk1.5.0_13
set CLASSPATH=d:/work_code/android/BlueInput/obj
set PATH=E:/android/android-sdk-windows/tools;E:/android/android-ndk-r5b
set ANDROID_NDK_ROOT=/cygdrive/e/android/android-ndk-r5b
set NDK_PROJECT_PATH=/cygdrive/e/android/android-ndk-r5b/samples/hello-jni
on executing the command ./ndk-build, am getting the error...
Android NDK: Could not find application project directory!
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
cygdrive\e\android\android-ndk-r5b\build\core\build-local.mk:"Android NDK aborting"
The parent folder should be "jni" and then inside your Android.mk
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With