I feel stupid. Don't really understand what I did different this time
but it worked.
I removed the ANDROID_NDK_ROOT environment variable but that shouldn't
have mattered right?
Either way it worked.
Let me outline the procedure for anyone else who might run into the
same problem.
Windows Vista
Install Cygwin in the root of your C drive.
From the command prompt, run the Cygwin bash with:
C:/cygwin/Cygwin
Assuming you have extracted (placed) the android ndk into the C:
\android\android-ndk-1.6_r1\ directory
run the command /cygdrive/c/android/android-ndk-1.6_r1/build/host-
setup.sh
Or you can change to the directory
cd /cygdrive/c/android/android-ndk-1.6_r1/
and run the command
build/host-setup.sh
It should say Host setup complete ...
A huge thanks to everyone for their suggestions above.
Now I can start writing native android programs!!!!
I know, its bad practice but if I can master it, my apps will be
lightning fast.
On Nov 16, 9:03 pm, David Turner <
di...@android.com> wrote:
> Can you unset ANDROID_NDK_ROOT ? I don't think it's needed at all with
> recent versions of the NDK on Cygwin.
> Otherwise, try to define it to something like
> /cygdrive/c/android/android-ndk-1.5_r1 as suggested by someone else.
>
> Please update to 1.6_r1 too
>