I am attempting to set up my PC to use the Android NDK for my projects.
I have Cygwin installed. And I downloaded the Android NDK. Let’s say I put the NDK in the following folder on my PC:
c:\Android_ndk\<android ndk folder in here>
How can I configure Cygwin’s path to find the ndk? I am thinking the following may be partially correct:
export PATH=$PATH:/cygdrive/C/Android_ndk/<android ndk folder in here>
However I am not even sure I have my slashes the right way round.
Goto
..\cygwin\home\Eclipse. You will find a file named.bashrc. Open it using notepad and at the end of the file addexport PATH=$PATH:/cygdrive/c/Android_ndk/<android ndk folder in here>If you have done everything correctly the on issuing
which ndk-buildcommand on cygwin terminal will give you/cygdrive/c/Android_ndk/<android ndk folder in here>/ndk-buildHope this helps you.