@edwardtang 写道:
引擎版本:cocos2d-x-3.9
cocos 版本: 2.1
运行命令如下:
cocos compile -p android --android-studio -m release
报错如下:
Updated project.properties
Updated local.properties
Updated file /Users/xydMobile/Desktop/Workspace/BridgeGame/proj.android-studio/app/proguard-project.txt
Building native...
NDK build mode: release
NDK_TOOLCHAIN_VERSION: 4.9
running: '/Users/xydMobile/Desktop/Workspace/android-ndk-r10e/ndk-build -C /Users/xydMobile/Desktop/Workspace/BridgeGame/proj.android-studio/app -j8 NDK_MODULE_PATH=/Users/xydMobile/Desktop/Workspace/BridgeGame/proj.android-studio/../cocos2d:/Users/xydMobile/Desktop/Workspace/BridgeGame/proj.android-studio/../cocos2d/cocos:/Users/xydMobile/Desktop/Workspace/BridgeGame/proj.android-studio/../cocos2d/external NDK_TOOLCHAIN_VERSION=4.9'make: Entering directory
/Users/xydMobile/Desktop/Workspace/BridgeGame/proj.android-studio/app'
obj/local/armeabi/objs/bullet_static/BulletMultiThreaded/SpuLibspe2Support.o'
/Users/xydMobile/Desktop/Workspace/android-ndk-r10e/build/core/build-binary.mk:466: warning: overriding commands for target
/Users/xydMobile/Desktop/Workspace/android-ndk-r10e/build/core/build-binary.mk:466: warning: ignoring old commands for targetobj/local/armeabi/objs/bullet_static/BulletMultiThreaded/SpuLibspe2Support.o'
[armeabi] Compile++ thumb: bridgeGame_shared <= main.cpp
[armeabi] Compile++ thumb: bridgeGame_shared <= DDSolver.cpp
[armeabi] Compile++ thumb: bridgeGame_shared <= DDanalysePlay.cpp
[armeabi] Compile++ thumb: bridgeGame_shared <= DDtable.cpp
/bin/sh: -c: line 0: unexpected EOF while looking for matching'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [obj/local/armeabi/objs/bridgeGame_shared/hellocpp/main.o] Error 2
make: *** Waiting for unfinished jobs....
/bin/sh: -c: line 0: unexpected EOF while looking for matching'
/bin/sh: -c: line 1: syntax error: unexpected end of file
[armeabi] Compile++ thumb: bridgeGame_shared <= hands.cpp
make: *** [obj/local/armeabi/objs/bridgeGame_shared/__/__/__/Classes/AIDDS/DDSolver.o] Error 2
/bin/sh: -c: line 0: unexpected EOF while looking for matching'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [obj/local/armeabi/objs/bridgeGame_shared/__/__/__/Classes/AIDDS/DDanalysePlay.o] Error 2
/bin/sh: -c: line 0: unexpected EOF while looking for matching'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [obj/local/armeabi/objs/bridgeGame_shared/__/__/__/Classes/AIDDS/DDtable.o] Error 2
/bin/sh: -c: line 0: unexpected EOF while looking for matching'
/Users/xydMobile/Desktop/Workspace/BridgeGame/proj.android-studio/app'
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: *** [obj/local/armeabi/objs/bridgeGame_shared/__/__/__/Classes/AIDDS/hands.o] Error 2
make: Leaving directory
Error running command, return code: 2.
帖子: 3
参与者: 1