November 4th, 2011, 01:50 AM
|
#7 (permalink)
|
|
Premium Member
Join Date: Oct 2011
Location: Sydney, Australia
Posts: 193
Device(s): Galaxy Nexus GSM
Thanks: 2
Thanked 37 Times in 33 Posts
|
Damn, I'm glad I don't use Windows.
So despite having a Windows .zip download, the NDK has not really been ported to Windows.
ndk-build is Bash script. Hence the lack of an extension and the inability for cmd.exe to run it.
You need to download and install the latest version of Cygwin. This is will give you the Unix environment you need to be able to use the NDK under Windows.
After you've done that you should have a something like a Cygwin shell icon on the desktop or in your start menu. When you run that, you'll get a text shell window kinda like the command prompt, except you'll be inside a bash shell where you can issue unix command. (Yes, I'm talking very loosely here.)
Once you're in a bash shell, try these commands.
Code:
cd /cygdrive/c/androidterm
../android-ndk-r6b/ndk-build
|
|
|
Last edited by jiminaus; November 4th, 2011 at 01:54 AM.
|
|