Building mode: debug
Using Android Studio project : /Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/runtime-src/proj.android-studio
Android platform not specified, searching a default one…
running: ‘/Users/yangzhu/Library/Android/sdk/tools/android update project -t android-24 -p /Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/runtime-src/proj.android-studio/app’
Updated project.properties
Updated local.properties
Updated file /Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/proguard-project.txt
Building native…
NDK build mode: debug
running: ‘/Users/yangzhu/Library/Android/sdk/ndk-bundle/ndk-build -C /Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/runtime-src/proj.android-studio/app -j4 NDK_MODULE_PATH=/Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/cocos2d-x:/Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/cocos2d-x/cocos:/Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/cocos2d-x/external NDK_TOOLCHAIN_VERSION=4.9 NDK_DEBUG=1’
[armeabi-v7a] StaticLibrary : libjscocos2d.a
[armeabi-v7a] StaticLibrary : libcocos2d.a
[armeabi-v7a] StaticLibrary : libcocostudio.a
[armeabi-v7a] StaticLibrary : libcocosbuilder.a
[armeabi-v7a] StaticLibrary : libspine.a
[armeabi-v7a] StaticLibrary : libcreator.a
[armeabi-v7a] StaticLibrary : libnetwork.a
[armeabi-v7a] StaticLibrary : libui.a
[armeabi-v7a] StaticLibrary : libcocosdenshion.a
[armeabi-v7a] StaticLibrary : libextension.a
[armeabi-v7a] StaticLibrary : libaudioengine.a
[armeabi-v7a] StaticLibrary : libcocos2dxinternal.a
[armeabi-v7a] StaticLibrary : libcocos2dandroid.a
[armeabi-v7a] StaticLibrary : libcpufeatures.a
[armeabi-v7a] Gdbserver : [arm-linux-androideabi-4.9] libs/armeabi-v7a/gdbserver
[armeabi-v7a] Gdbsetup : libs/armeabi-v7a/gdb.setup
[armeabi-v7a] SharedLibrary : libcocos2djs.so
/Users/yangzhu/Documents/newwork/wwc/build/jsb-default/frameworks/cocos2d-x/external/android/armeabi-v7a/libwebsockets.a(lws-plat-unix.c.o):lws-plat-unix.c:function lws_plat_context_early_init: error: undefined reference to ‘bsd_signal’
collect2: error: ld returned 1 exit status
make: *** [obj/local/armeabi-v7a/libcocos2djs.so] Error 1
Error running command, return code: 2.
ios和mac是ok的。麻烦帮看下。
系统是mac 10.11.5