要怎么知道Creator对应的ndk版本是哪个

要怎么知道Creator对应的ndk版本是哪个

creator 2.4.3打包错误,不确实是不是ndk版本不对

[armeabi-v7a] StaticLibrary : libcocos2dandroid.a
[armeabi-v7a] StaticLibrary : libcpufeatures.a
[armeabi-v7a] SharedLibrary : libcocos2djs.so
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(libunwind.o): multiple definition of ‘_Unwind_RaiseException’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(libunwind.o): multiple definition of ‘_Unwind_Resume’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(unwind-arm.o): multiple definition of ‘__aeabi_unwind_cpp_pr0’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(unwind-arm.o): multiple definition of ‘_Unwind_Complete’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(unwind-arm.o): multiple definition of ‘_Unwind_DeleteException’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(unwind-arm.o): multiple definition of ‘_Unwind_VRS_Get’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(unwind-arm.o): multiple definition of ‘_Unwind_VRS_Set’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(unwind-arm.o): multiple definition of ‘_Unwind_VRS_Pop’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(pr-support.o): multiple definition of ‘__gnu_unwind_frame’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(pr-support.o): multiple definition of ‘_Unwind_GetRegionStart’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: error: E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/armv7-a/libgcc.a(pr-support.o): multiple definition of ‘_Unwind_GetLanguageSpecificData’
E:/Android/android-ndk-r16b/build//…/toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/…/…/…/…/arm-linux-androideabi/bin\ld: E:/Android/android-ndk-r16b/build//…/sources/cxx-stl/llvm-libc++/libs/armeabi-v7a/libunwind.a(Unwind-EHABI.o): previous definition here
clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [E:/NewProject_Android/build/jsb-link/frameworks/runtime-src/proj.android-studio/game/build/intermediates/ndkBuild/release/obj/local/armeabi-v7a/libcocos2djs.so] Error 1

有没有大神帮忙看下,打包出错,不知道哪里问题

你是空工程测试的吗?这个编译看起来是用的gcc,引擎默认应该是配置clang编译的,可以使用NDK18编译试试。

是用空项目编译的,ndk用的是r16b

用NDK 18编译就可以了