When i try compile for win32 and web, everything goes ok. But when i try to compile to android i got this error:
[armeabi] Install : libcpp_tests.so => libs/armeabi/libcpp_tests.so
make.exe: Leaving directory C:/cocosalpha/tests/cpp-tests/proj.android' 'C:\Program'is not recognized as an internal command or external, operable program or batch file. update cocos lib-project [ C:\cocosalpha\build\..\cocos/platform/android/java ] fails! PS C:\cocosalpha\build> ./android-build.py -p 10 cpp-tests The Selected NDK toolchain version was 4.8 ! C:\NDK\ndk-build -j8 -C C:\cocosalpha\build\..\tests/cpp-tests/proj.android NDK_DEBUG=1 NDK_MODULE_PATH=C:\cocosalpha\bu ild\..;C:\cocosalpha\build\../external;C:\cocosalpha\build\../cocos Android NDK: WARNING:C:\cocosalpha\build\../cocos/./Android.mk:cocos2dx_static: LOCAL_LDLIBS is always ignored for stati c libraries Android NDK: WARNING:C:\cocosalpha\build\../cocos/platform/android/Android.mk:cocos2dxandroid_static: LOCAL_LDLIBS is al ways ignored for static libraries make.exe: Entering directory
C:/cocosalpha/tests/cpp-tests/proj.android’
[armeabi] Install : libcpp_tests.so => libs/armeabi/libcpp_tests.so
make.exe: Leaving directory `C:/cocosalpha/tests/cpp-tests/proj.android’
‘C:\Program’ is not recognized as an internal command
or external, operable program or batch file.
update cocos lib-project [ C:\cocosalpha\build…\cocos/platform/android/java ] fails!
i’m posting versions of my tools
Ant:Apache Ant™ version 1.8.2 compiled on December 20 2010
JDK: 1.7.0_15
NDK:
id: 5 or “android-12”
Name: Android 3.1
Type: Platform
API level: 12
Revision: 3
Skins: WXGA (default)
ABIs : armeabi
id: 6 or “android-13”
Name: Android 3.2
Type: Platform
API level: 13
Revision: 1
Skins: WXGA (default)
ABIs : armeabi
id: 7 or “android-14”
Name: Android 4.0
Type: Platform
API level: 14
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800
ABIs : no ABIs.
id: 8 or “android-15”
Name: Android 4.0.3
Type: Platform
API level: 15
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WSVGA, WVGA800 (default), WVGA854, WXGA720, WXGA800
ABIs : armeabi-v7a/
What should i do?