I’ve been trying to compile my game to android, but every time I try I keep getting this error bellow. Based on the message bellow, it seems like there is some path concatenation error, but I don’t know where to go to change it.
c:\Library\cocos2dx\MyGame>cocos run -p android
Building mode: debug
Using Eclipse project : c:\Library\cocos2dx\MyGame\proj.android
Android platform not specified, searching a default one...
running: '"C:\Android\sdk\tools\android" update project -t android-17 -p c:\Library\cocos2dx\MyGame\proj.android'
Updated project.properties
Updated local.properties
Updated file c:\Library\cocos2dx\MyGame\proj.android\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
Android platform not specified, searching a default one...
running: '"C:\Android\sdk\tools\android" update lib-project -p c:\Library\cocos2dx\MyGame\cocos2d\cocos\platform\android\java -t android-17'
Updated project.properties
Updated local.properties
Updated file c:\Library\cocos2dx\MyGame\cocos2d\cocos\platform\android\java\proguard-project.txt
Android platform not specified, searching a default one...
running: '"C:\Android\sdk\tools\android" update lib-project -p c:\Library\cocos2dx\MyGame\cocos2d\cocos\platform\android\java\libs\facebook_lib -t android-22'
Updated project.properties
Updated local.properties
Updated file c:\Library\cocos2dx\MyGame\cocos2d\cocos\platform\android\java\libs\facebook_lib\proguard-project.txt
Building native...
NDK build mode: debug
running: '"C:\Android\ndk\ndk-build" -C c:\Library\cocos2dx\MyGame\proj.android -j8 NDK_MODULE_PATH=c:\Library\cocos2dx\MyGame\proj.android\../cocos2d;c:\Library\cocos2dx\MyGame\proj.android\../cocos2d/cocos;c:\Library\cocos2dx\MyGame\proj.android\../cocos2d/external NDK_TOOLCHAIN_VERSION=4.9 NDK_DEBUG=1'
The system cannot find the path specified.
Error running command, return code: 1.