@21018676 写道:
使用cocos creator V1.3.1构建失败,请问如何解决。
发布平台选择为Android。
构建成功,编译时失败
log如下:编译模式:release
使用 Eclipse 工程:E:\cocos\NewProject\build\jsb-default\frameworks\runtime-src\proj.android
正在执行:'"C:\Users\guojibin\Downloads\adt-bundle-windows-x86_64-20140702\sdk\tools\android" update project -t android-17 -p E:\cocos\NewProject\build\jsb-default\frameworks\runtime-src\proj.android'Updated project.properties
Updated local.properties
Updated file E:\cocos\NewProject\build\jsb-default\frameworks\runtime-src\proj.android\proguard-project.txt
正在执行:'"C:\Users\guojibin\Downloads\adt-bundle-windows-x86_64-20140702\sdk\tools\android" update lib-project -p E:\cocos\NewProject\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java -t android-17'Updated project.properties
Updated local.properties
Updated file E:\cocos\NewProject\build\jsb-default\frameworks\cocos2d-x\cocos\platform\android\java\proguard-project.txt
正在执行 ndk-build...
NDK 编译模式:release
NDK_TOOLCHAIN_VERSION: 4.8
正在执行:'"E:\android-ndk-r10b\ndk-build" -C E:\cocos\NewProject\build\jsb-default\frameworks\runtime-src\proj.android -j8 NDK_MODULE_PATH=E:\cocos\NewProject\build\jsb-default\frameworks\cocos2d-x;E:\cocos\NewProject\build\jsb-default\frameworks\cocos2d-x\cocos;E:\cocos\NewProject\build\jsb-default\frameworks\cocos2d-x\external NDK_TOOLCHAIN_VERSION=4.8'Android NDK: ERROR:E:/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/Android.mk:gnustl_static: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that E:/android-ndk-r10b/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/thumb/libgnustl_static.a exists or that its path is correct
make.exe: Entering directoryE:/cocos/NewProject/build/jsb-default/frameworks/runtime-src/proj.android'
E:/cocos/NewProject/build/jsb-default/frameworks/runtime-src/proj.android'
make.exe: Leaving directory
E:/android-ndk-r10b/build/core/prebuilt-library.mk:45: *** Android NDK: Aborting . Stop.
执行命令出错,返回值:2。
帖子: 3
参与者: 1