@390759142 写道:
Building mode: release
Using Android Studio project : /Users/varwym/Desktop/BCGame/build/jsb-default/frameworks/runtime-src/proj.android-studio
Android platform not specified, searching a default one...
running: '/Users/varwym/Library/Android/sdk/tools/android update project -t android-23 -p /Users/varwym/Desktop/BCGame/build/jsb-default/frameworks/runtime-src/proj.android-studio/app'Updated project.properties
Updated local.properties
Updated file /Users/varwym/Desktop/BCGame/build/jsb-default/frameworks/runtime-src/proj.android-studio/app/proguard-project.txt
Building native...
NDK build mode: release
running: '/Users/varwym/Library/Android/sdk/ndk-bundle/ndk-build -C /Users/varwym/Desktop/BCGame/build/jsb-default/frameworks/runtime-src/proj.android-studio/app -j4 NDK_MODULE_PATH=/Users/varwym/Desktop/BCGame/build/jsb-default/frameworks/cocos2d-x:/Users/varwym/Desktop/BCGame/build/jsb-default/frameworks/cocos2d-x/cocos:/Users/varwym/Desktop/BCGame/build/jsb-default/frameworks/cocos2d-x/external NDK_TOOLCHAIN_VERSION=4.9'[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] SharedLibrary : libcocos2djs.so
/Users/varwym/Desktop/BCGame/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.
这个是什么原因?
帖子: 12
参与者: 1