Hello.I’m quite a new in cocos-2dx or NDK.I use cocos2d-x-2.1.5 and while compiling via eclipse on windows-7 for android.I got an error.
If somebody know how to fix this problem, please teach me.
I have configured values as indicated below.
NDK_ROOT: C:\android-ndk-r9-windows-x86_64\android-ndk-r9
NDK_MODULE_PATH C:\cocos2d-x-2.1.5\cocos2d-x-2.1.5;C:\cocos2d-x-2.1.5\cocos2d-x-2.1.5\cocos2dx\platform\third_party\android\prebuilt;
Then I got this kind of error.
17:32:56 Incremental Build of configuration Default for project MyApp
bash C:/Users/murotani/android/MyApp/build_native.sh
0 [main] bash 5452 fstab_read_flags: invalid fstab option - 'noacl.posix=0'
NDK_ROOT = C:\android-ndk-r9-windows-x86_64\android-ndk-r9
COCOS2DX_ROOT = /cygdrive/c/Users/murotani/android/MyApp/../../..
APP_ROOT = /cygdrive/c/Users/murotani/android/MyApp/..
APP_ANDROID_ROOT = /cygdrive/c/Users/murotani/android/MyApp
Using prebuilt externals
Android NDK: WARNING: Ignoring unknown import directory: /cygdrive/c/Users/murotani/android/MyApp/../../../cocos2dx/platform/third_party/android/prebuilt
jni/Android.mk:23: *** Android NDK: Aborting. . Stop.
Android NDK: jni/Android.mk: Cannot find module with tag 'cocos2dx' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
make: Entering directory `/cygdrive/c/Users/murotani/android/MyApp'
make: Leaving directory `/cygdrive/c/Users/murotani/android/MyApp'
17:32:57 Build Finished (took 911ms)