How to make android NDK work in windows?

992 views Asked by At

I have downloaded android-ndk-r10e & I have also setted path in environment variable as well as NDK path for eclipse. I was able to build and run HelloJni sample app from eclipse, but when I use console to build it says

'ndk' is not recognized as an internal or external command,operable program or batch file.

I have googled this and have also installed Cygwin even though it's not mentioned in offical google installation instructions(https://developer.android.com/ndk/guides/setup.html) but to no vain.

I have set my path but when I do echo %path% it dosen't show up. How can I use NDK from command lines.enter image description here

1

There are 1 answers

0
rmtheis On BEST ANSWER

The command you're probably looking for is ndk-build, not ndk.