FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:DemoForAndroid:buildCMakeRelWithDebInfo[arm64-v8a][cocos]’.
com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a’
[1/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerDeviceInfo.cpp.o
[2/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_normalize.cpp.o
[3/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/InternalControllerTable.cpp.o
[4/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_alias_reduction.cpp.o
[5/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_get_side_info.cpp.o
[6/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_crc.cpp.o
[7/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_decode_header.cpp.o
[8/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_getbits.cpp.o
[9/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_get_main_data_size.cpp.o
[10/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.cpp.o
[11/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_get_scale_factors.cpp.o
[12/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.cpp.o
[13/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_framedecoder.cpp.o
[14/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.cpp.o
[15/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_dequantize_sample.cpp.o
[16/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_huffman_decoding.cpp.o
[17/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_tables.cpp.o
[18/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_imdct_synth.cpp.o
[19/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_huffman_parsing.cpp.o
[20/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mdct_6.cpp.o
[21/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.cpp.o
[22/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameController.cpp.o
[23/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerLog.cpp.o
[24/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/paddleboat_c.cpp.o
[25/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerMappingUtils.cpp.o
[26/685] Generating generated/cocos/bindings/auto/jsb_network_auto.h, generated/cocos/bindings/auto/jsb_network_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/network.i …
[27/685] Generating generated/cocos/bindings/auto/jsb_extension_auto.h, generated/cocos/bindings/auto/jsb_extension_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/extension.i …
[28/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerManager.cpp.o
[29/685] Linking CXX static library libpaddleboat_static.a
[30/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/glue/MessagePipe.cpp.o
[31/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/android/jni/JniCocosEntry.cpp.o
[32/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/JniCocosOrientationHelper.cpp.o
[33/685] Generating generated/cocos/bindings/auto/jsb_gi_auto.h, generated/cocos/bindings/auto/jsb_gi_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/gi.i …
[34/685] Generating generated/cocos/bindings/auto/jsb_gfx_auto.h, generated/cocos/bindings/auto/jsb_gfx_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/gfx.i …
[35/685] Generating generated/cocos/bindings/auto/jsb_audio_auto.h, generated/cocos/bindings/auto/jsb_audio_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/audio.i …
[36/685] Generating generated/cocos/bindings/auto/jsb_2d_auto.h, generated/cocos/bindings/auto/jsb_2d_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/2d.i …
[37/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/JniHelper.cpp.o
[38/685] Generating generated/cocos/bindings/auto/jsb_video_auto.h, generated/cocos/bindings/auto/jsb_video_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/video.i …
[39/685] Generating generated/cocos/bindings/auto/jsb_webview_auto.h, generated/cocos/bindings/auto/jsb_webview_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/webview.i …
[40/685] Generating generated/cocos/bindings/auto/jsb_geometry_auto.h, generated/cocos/bindings/auto/jsb_geometry_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/geometry.i …
[41/685] Generating generated/cocos/bindings/auto/jsb_editor_support_auto.h, generated/cocos/bindings/auto/jsb_editor_support_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/editor_support.i …
[42/685] Generating generated/cocos/bindings/auto/jsb_pipeline_auto.h, generated/cocos/bindings/auto/jsb_pipeline_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/pipeline.i …
[43/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_dct_6.cpp.o
[44/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_equalizer.cpp.o
[45/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.cpp.o
[46/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_polyphase_filter_window.cpp.o
[47/685] Generating generated/cocos/bindings/auto/jsb_render_auto.h, generated/cocos/bindings/auto/jsb_render_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/render.i …
[48/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/JniImp.cpp.o
[49/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_seek_synch.cpp.o
[50/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_dct_9.cpp.o
[51/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mdct_18.cpp.o
[52/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_reorder.cpp.o
[53/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_dct_16.cpp.o
[54/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/bitwise.c.o
[55/685] Generating generated/cocos/bindings/auto/jsb_scene_auto.h, generated/cocos/bindings/auto/jsb_scene_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/scene.i …
[56/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/dsp.c.o
[57/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor_lookup.c.o
[58/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor1.c.o
[59/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor0.c.o
/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor0.c:61warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if(a<(-140<<12)) return 0;
~~~~^
1 warning generated.
[60/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/info.c.o
[61/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_stereo_proc.cpp.o
[62/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/codebook.c.o
[63/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/mapping0.c.o
[64/685] Linking CXX static library libpvmp3dec.a
[65/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/android/jni/JniCocosSurfaceView.cpp.o
[66/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/misc.c.o
[67/685] Building C object CMakeFiles/android_platform.dir/Users/chenzongtian/Library/Android/sdk/ndk/21.1.6352462/sources/android/cpufeatures/cpu-features.c.o
[68/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/res012.c.o
[69/685] Linking C static library libandroid_platform.a
[70/685] Generating generated/cocos/bindings/auto/jsb_spine_auto.h, generated/cocos/bindings/auto/jsb_spine_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/spine.i …
[71/685] Generating generated/cocos/bindings/auto/jsb_assets_auto.h, generated/cocos/bindings/auto/jsb_assets_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/assets.i …
[72/685] Linking CXX static library libcocos_jni.a
[73/685] Building CXX object boost/container/CMakeFiles/boost_container.dir/dlmalloc.cpp.o
[74/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/mdct.c.o
[75/685] Building CXX object boost/container/CMakeFiles/boost_container.dir/global_resource.cpp.o
[76/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/vorbisfile.c.o
[77/685] Building CXX object boost/container/CMakeFiles/boost_container.dir/monotonic_buffer_resource.cpp.o
[78/685] Building CXX object boost/container/CMakeFiles/boost_container.dir/synchronized_pool_resource.cpp.o
[79/685] Building CXX object boost/container/CMakeFiles/boost_container.dir/unsynchronized_pool_resource.cpp.o
[80/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/framing.c.o
[81/685] Building CXX object boost/container/CMakeFiles/boost_container.dir/pool_resource.cpp.o
[82/685] Linking C static library libvorbisidec.a
[83/685] Generating generated/cocos/bindings/auto/jsb_dragonbones_auto.h, generated/cocos/bindings/auto/jsb_dragonbones_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/dragonbones.i …
[84/685] Generating generated/cocos/bindings/auto/jsb_cocos_auto.h, generated/cocos/bindings/auto/jsb_cocos_auto.cpp
FAILED: generated/cocos/bindings/auto/jsb_cocos_auto.h generated/cocos/bindings/auto/jsb_cocos_auto.cpp /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/jsb_cocos_auto.h /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/jsb_cocos_auto.cpp
cd /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine && /Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/cmake -E echo Running\ swig\ with\ config\ file\ /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i\ … && /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig -c++ -cocos -fvirtual -noexcept -cpperraswarn -D__clang__ -Dfinal= -DCC_PLATFORM=3 -Dconstexpr=const -DCC_PLATFORM_ANDROID=3 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0/javascript/cocos -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/ -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos -o /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.cpp /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i && /Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/cmake -E copy_if_different /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.cpp /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/jsb_cocos_auto.cpp && /Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/cmake -E copy_if_different /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.h /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/jsb_cocos_auto.h
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i …
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin
Referenced from: /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig
Expected in: /usr/lib/libSystem.B.dylib
/bin/sh: line 1: 85954 Abort trap: 6 /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig -c++ -cocos -fvirtual -noexcept -cpperraswarn -D__clang__ -Dfinal= -DCC_PLATFORM=3 -Dconstexpr=const -DCC_PLATFORM_ANDROID=3 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0/javascript/cocos -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/ -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos -o /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.cpp /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i
[85/685] Building C object boost/container/CMakeFiles/boost_container.dir/alloc_lib.c.o
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
/Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/ninja
-C
/Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/arm64-v8a
cocos
from /Users/chenzongtian/CocosProjects/DemoForAndroid/native/engine/android/app
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
- What went wrong:
Execution failed for task ‘:DemoForAndroid:buildCMakeRelWithDebInfo[armeabi-v7a][cocos]’.
com.android.ide.common.process.ProcessException: ninja: Entering directory `/Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a’
[1/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_normalize.cpp.o
[2/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_crc.cpp.o
[3/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerDeviceInfo.cpp.o
[4/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/InternalControllerTable.cpp.o
[5/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_alias_reduction.cpp.o
[6/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_decode_header.cpp.o
[7/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_poly_phase_synthesis.cpp.o
[8/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_getbits.cpp.o
[9/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_factors.cpp.o
[10/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_decode_huff_cw.cpp.o
[11/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_get_side_info.cpp.o
[12/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_get_main_data_size.cpp.o
[13/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_dequantize_sample.cpp.o
[14/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_framedecoder.cpp.o
[15/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mpeg2_get_scale_data.cpp.o
[16/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_get_scale_factors.cpp.o
[17/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_huffman_decoding.cpp.o
[18/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_tables.cpp.o
[19/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_huffman_parsing.cpp.o
[20/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mdct_6.cpp.o
[21/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/mapping0.c.o
[22/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_dct_6.cpp.o
[23/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_mpeg2_stereo_proc.cpp.o
[24/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_imdct_synth.cpp.o
[25/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_seek_synch.cpp.o
[26/685] Building ASM object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/asm/pvmp3_polyphase_filter_window_gcc.s.o
[27/685] Building ASM object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/asm/pvmp3_mdct_18_gcc.s.o
[28/685] Building ASM object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/asm/pvmp3_dct_9_gcc.s.o
[29/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_equalizer.cpp.o
[30/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_reorder.cpp.o
[31/685] Building ASM object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/asm/pvmp3_dct_16_gcc.s.o
[32/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerLog.cpp.o
[33/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/dsp.c.o
[34/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/bitwise.c.o
[35/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameController.cpp.o
[36/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor_lookup.c.o
[37/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor0.c.o
/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor0.c:61warning: shifting a negative signed value is undefined [-Wshift-negative-value]
if(a<(-140<<12)) return 0;
~~~~^
1 warning generated.
[38/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/paddleboat_c.cpp.o
[39/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerMappingUtils.cpp.o
[40/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/misc.c.o
[41/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/info.c.o
[42/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/floor1.c.o
[43/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/codebook.c.o
[44/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/res012.c.o
[45/685] Building CXX object CMakeFiles/pvmp3dec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/pvmp3dec/src/pvmp3_stereo_proc.cpp.o
[46/685] Generating generated/cocos/bindings/auto/jsb_audio_auto.h, generated/cocos/bindings/auto/jsb_audio_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/audio.i …
[47/685] Generating generated/cocos/bindings/auto/jsb_geometry_auto.h, generated/cocos/bindings/auto/jsb_geometry_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/geometry.i …
[48/685] Linking CXX static library libpvmp3dec.a
[49/685] Generating generated/cocos/bindings/auto/jsb_video_auto.h, generated/cocos/bindings/auto/jsb_video_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/video.i …
[50/685] Building C object CMakeFiles/android_platform.dir/Users/chenzongtian/Library/Android/sdk/ndk/21.1.6352462/sources/android/cpufeatures/cpu-features.c.o
[51/685] Generating generated/cocos/bindings/auto/jsb_webview_auto.h, generated/cocos/bindings/auto/jsb_webview_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/webview.i …
[52/685] Linking C static library libandroid_platform.a
[53/685] Generating generated/cocos/bindings/auto/jsb_editor_support_auto.h, generated/cocos/bindings/auto/jsb_editor_support_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/editor_support.i …
[54/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/mdct.c.o
[55/685] Generating generated/cocos/bindings/auto/jsb_render_auto.h, generated/cocos/bindings/auto/jsb_render_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/render.i …
[56/685] Generating generated/cocos/bindings/auto/jsb_2d_auto.h, generated/cocos/bindings/auto/jsb_2d_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/2d.i …
[57/685] Building CXX object CMakeFiles/paddleboat_static.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/android-gamesdk/GameController/GameControllerManager.cpp.o
[58/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/vorbisfile.c.o
[59/685] Generating generated/cocos/bindings/auto/jsb_network_auto.h, generated/cocos/bindings/auto/jsb_network_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/network.i …
[60/685] Linking CXX static library libpaddleboat_static.a
[61/685] Building C object CMakeFiles/vorbisidec.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/sources/tremolo/Tremolo/framing.c.o
[62/685] Generating generated/cocos/bindings/auto/jsb_extension_auto.h, generated/cocos/bindings/auto/jsb_extension_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/extension.i …
[63/685] Linking C static library libvorbisidec.a
[64/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/glue/MessagePipe.cpp.o
[65/685] Generating generated/cocos/bindings/auto/jsb_cocos_auto.h, generated/cocos/bindings/auto/jsb_cocos_auto.cpp
FAILED: generated/cocos/bindings/auto/jsb_cocos_auto.h generated/cocos/bindings/auto/jsb_cocos_auto.cpp /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/jsb_cocos_auto.h /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/jsb_cocos_auto.cpp
cd /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine && /Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/cmake -E echo Running\ swig\ with\ config\ file\ /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i\ … && /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig -c++ -cocos -fvirtual -noexcept -cpperraswarn -D__clang__ -Dfinal= -DCC_PLATFORM=3 -Dconstexpr=const -DCC_PLATFORM_ANDROID=3 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0/javascript/cocos -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/ -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos -o /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.cpp /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i && /Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/cmake -E copy_if_different /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.cpp /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/jsb_cocos_auto.cpp && /Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/cmake -E copy_if_different /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.h /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/jsb_cocos_auto.h
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i …
dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin
Referenced from: /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ____chkstk_darwin
Referenced from: /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig
Expected in: /usr/lib/libSystem.B.dylib
/bin/sh: line 1: 86323 Abort trap: 6 /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/bin/swig -c++ -cocos -fvirtual -noexcept -cpperraswarn -D__clang__ -Dfinal= -DCC_PLATFORM=3 -Dconstexpr=const -DCC_PLATFORM_ANDROID=3 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0/javascript/cocos -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/external/mac/bin/swig/share/swig/4.1.0 -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/ -I/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos -o /Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a/generated/cocos/bindings/auto/temp/jsb_cocos_auto.cpp /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/cocos.i
[66/685] Generating generated/cocos/bindings/auto/jsb_gi_auto.h, generated/cocos/bindings/auto/jsb_gi_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/gi.i …
[67/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/android/jni/JniCocosEntry.cpp.o
[68/685] Generating generated/cocos/bindings/auto/jsb_gfx_auto.h, generated/cocos/bindings/auto/jsb_gfx_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/gfx.i …
[69/685] Generating generated/cocos/bindings/auto/jsb_pipeline_auto.h, generated/cocos/bindings/auto/jsb_pipeline_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/pipeline.i …
[70/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/JniCocosOrientationHelper.cpp.o
[71/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/JniHelper.cpp.o
[72/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/java/jni/JniImp.cpp.o
[73/685] Generating generated/cocos/bindings/auto/jsb_scene_auto.h, generated/cocos/bindings/auto/jsb_scene_auto.cpp
Running swig with config file /Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/tools/swig-config/scene.i …
[74/685] Building CXX object CMakeFiles/cocos_jni.dir/Applications/CocosCreator/Creator/3.8.0/CocosCreator.app/Contents/Resources/resources/3d/engine/native/cocos/platform/android/jni/JniCocosSurfaceView.cpp.o
ninja: build stopped: subcommand failed.
C++ build system [build] failed while executing:
/Users/chenzongtian/Library/Android/sdk/cmake/3.22.1/bin/ninja
-C
/Users/chenzongtian/CocosProjects/DemoForAndroid/build/android/proj/build/RelWithDebInfo/2e733b39/armeabi-v7a
cocos
from /Users/chenzongtian/CocosProjects/DemoForAndroid/native/engine/android/app
- Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================
- Get more help at https://help.gradle.org
BUILD FAILED in 24s
101 actionable tasks: 101 executed
warning: shifting a negative signed value is undefined [-Wshift-negative-value]


