Search code examples
androidandroid-ndkcocos2d-x

Make.exe / Android / Cocos-2d-x: No such file or directory


I'm trying to build the Android version of the latest cocos2d-x, but I get this error when trying to compile the native code:

make.exe: *** /cygdrive/h/cocos2d-x-2.2/projects/MyGame/proj.android: No such file or directory

I've checked that the directory does exist. I'm running Windows 7 x64 with cocos2d-x 2.2, NDK version r9b and the latest Android SDK with all updates installed.


Solution

  • One time you try to import the project from cocos2d-x templete folder->ccp. And give the NDK_ROOT in the build_native.sh file then coplie it.......if it will running then proplem in your project