Hi I want help to work with android NDK.
I have set up my eclipse Helios to work with NDK with help of this tutorial. I am using windows. When trying to build I am shown this error
make[1]: Entering directory
`/cygdrive/d/WorkSpace/TestProject/TestProject'
/cygdrive/d/DevTools/android-ndk-r5b-windows/android-ndk-r5b/build/core/build-local.mk:39: build/core/init.mk: No such file or directory
make[1]: Leaving directory
`/cygdrive/d/WorkSpace/TestProject/TestProject'
/cygdrive/d/DevTools/android-ndk-r5b-windows/android-ndk-r5b/build/core/build-local.mk:76: *** missing `endif'. Stop.
make: *** [all] Error 2
It doesn't let me build my application.
How to solve this error?
EDIT : I have tried to build hello-jni application with the eclipse and cygwin but I couldn't build the program, it throws same error
I have got the mistake.... Actually the make command was older than the recommended version. That was the reason why none of the ndk was running properly. I have upgraded the make version and everything is running the way it should.... even that eclipse tutorial is running like a charm......
TIP: You may have that old cygwin with you... you may still find it useful which have make v 3.80.... upgrade it from internet for version 3.81 and it will work.