build_native.sh problem

build_native.sh problem
0

#1

Hi,
I try create my first project on cocos2Dx, but I have problem with build_native.sh.
I make all in accordance with official tutorial. When I open build_native.sh in Cygwin I get this error:

$ ./build_native.sh
NDK_ROOT = /cygdrive/g/android/android-ndk-r8b
COCOS2DX_ROOT = /cygdrive/g/android/cocos2d/cocos2d-2.0-x-2.0.4/platki/proj.andr oid/…/…
APP_ROOT = /cygdrive/g/android/cocos2d/cocos2d-2.0-x-2.0.4/platki/proj.android/. .
APP_ANDROID_ROOT = /cygdrive/g/android/cocos2d/cocos2d-2.0-x-2.0.4/platki/proj.a ndroid
Using prebuilt externals
./build_native.sh: line 89: /cygdrive/g/android/android-ndk-r8b/ndk-build: No s uch file or directory

In line 89 I have this code:

“$NDK_ROOT”/ndk-build -C “$APP_ANDROID_ROOT” $*
I check and file ndk-build exist in this location.
My operation system is Win7. Maybe problem is this, that ndk-build have not any extension?