Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ndk-cygwin path specific issues [closed]

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"
like image 365
yokks Avatar asked Feb 17 '11 07:02

yokks


1 Answers

The parent folder should be "jni" and then inside your Android.mk

like image 181
GlamSelva1297934 Avatar answered Nov 02 '22 13:11

GlamSelva1297934