@nothingXJM 写道:
用的1.4.0-bate2
ndk 是 r10e
构建android项目的时候控制台 native.log
Android NDK: WARNING: Ignoring unknown import directory: /Applications/CocosCreator.app/Contents/Resources/cocos2d-x/external/android/include
Android NDK: WARNING: Ignoring unknown import directory: /Applications/CocosCreator.app/Contents/Resources/cocos2d-x/external/android/spidermonkey
[armeabi] Compile++ arm : cocos2djs_shared <= AppDelegate.cpp
[armeabi] Compile++ arm : cocos2djs_shared <= main.cpp
[armeabi] Compile++ arm : cocos2djs_shared <= SDKManager.cpp
make: /Users/apple/Workplace/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++: No such file or directory
make: /Users/apple/Workplace/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++: No such file or directory
make: /Users/apple/Workplace/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86/bin/arm-linux-androideabi-g++: No such file or directory
make: *** [obj/local/armeabi/objs/cocos2djs_shared/__/__/Classes/SDKManager.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/local/armeabi/objs/cocos2djs_shared/hellojavascript/main.o] Error 1
make: *** [obj/local/armeabi/objs/cocos2djs_shared/__/__/Classes/AppDelegate.o] Error 1
Error running command, return code: 2.
帖子: 1
参与者: 1