Log in or register to post comments

ndk-build command

September 29, 2011 - 1:59pm #1

Hi

When I tried to run ndk-build from Cygwin bash shell, I got

bash: ndk-build: command not found

Does anyone know why?

Thanks
Kim

Re: ndk-build command

October 3, 2011 - 5:06pm #3

Could be because of any spaces in a file root. If you have the ndk then make sure you have cd the samples before trying to build the ndk. cd --Project JNI-- then do NOT cd but just write location of ndk in command line and at end of line write the call to /ndk-build.
Good Luck,

Grant

Re: ndk-build command

September 30, 2011 - 11:20am #2

Have you added the Android NDK directory to your Windows path? See the Getting Start Guide, Step 1.

- Kim

Log in or register to post comments