Buid android failed cocos IDE

build for android on cocos IDE failed

console :

make.exe: *** C:\Users\Sign: No such file or directory.  Stop.
Running command: compile
Building mode: debug
building native
NDK build mode: release
The Selected NDK toolchain version was 4.8 !
running: ‘D:\cocos\android-ndk-r9d\ndk-build -C C:\Users\Sign Stores\Documents\cocos\CocosJSGame\frameworks\runtime-src\proj.android -j1 NDK_MODULE_PATH=C:\Users\Sign Stores\Documents\cocos\CocosJSGame\frameworks\runtime-src\proj.android…/…/js-bindings;C:\Users\Sign Stores\Documents\cocos\CocosJSGame\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x;C:\Users\Sign Stores\Documents\cocos\CocosJSGame\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x/cocos;C:\Users\Sign Stores\Documents\cocos\CocosJSGame\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x/external’

Error running command, return code: 2

what is the problem ??

NDK build has bug if your project path include any space.

I created a javascript project “CocosJSGame4”
I try to package for apk but I see this log

[armeabi] Install : libcocos2djs.so => libs/armeabi/libcocos2djs.so
make.exe: Leaving directory `D:/workspaces/cococodeIDE1.0/CocosJSGame4/frameworks/runtime-src/proj.android’
‘“D:\archivosprogramad\cocos3xfiles\adt-bundle-windows-x86_64-20140321\sdk\tools\android”’ is not recognized as an internal or external command,
operable program or batch file.
Running command: compile
Building mode: debug
building native
NDK build mode: release
The Selected NDK toolchain version was 4.8 !
running: ‘D:\archivosprogramad\cocos3xfiles\android-ndk-r9d\ndk-build -C D:\workspaces\cococodeIDE1.0\CocosJSGame4\frameworks\runtime-src\proj.android -j7 NDK_MODULE_PATH=D:\workspaces\cococodeIDE1.0\CocosJSGame4\frameworks\runtime-src\proj.android…/…/js-bindings;D:\workspaces\cococodeIDE1.0\CocosJSGame4\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x;D:\workspaces\cococodeIDE1.0\CocosJSGame4\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x/cocos;D:\workspaces\cococodeIDE1.0\CocosJSGame4\frameworks\runtime-src\proj.android…/…/js-bindings/cocos2d-x/external’

building apk
running: ‘“D:\archivosprogramad\cocos3xfiles\adt-bundle-windows-x86_64-20140321\sdk\tools\android” update project -t android-17 -p D:\workspaces\cococodeIDE1.0\CocosJSGame4\frameworks\runtime-src\proj.android’

Error running command, return code: 1

What does it mean “return code1”?

You can try ndk-r9b in cocos2d-js