FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:CppTests:externalNativeBuildDebug’.
Build command failed.
Error while executing process D:\AndroidSDK\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Users\hasee\Desktop\cocos2d-x-3.15.1\tests\cpp-tests\proj.android-studio\app\jni\Android.mk NDK_APPLICATION_MK=C:\Users\hasee\Desktop\cocos2d-x-3.15.1\tests\cpp-tests\proj.android-studio\app\jni\Application.mk APP_ABI=armeabi NDK_ALL_ABIS=armeabi NDK_DEBUG=1 APP_PLATFORM=android-14 NDK_OUT=C:/Users/hasee/Desktop/cocos2d-x-3.15.1/tests/cpp-tests/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Users\hasee\Desktop\cocos2d-x-3.15.1\tests\cpp-tests\proj.android-studio\app\build\intermediates\ndkBuild\debug\lib NDK_TOOLCHAIN_VERSION=4.9 APP_PLATFORM=android-22 NDK_MODULE_PATH=C:/Users/hasee/Desktop/cocos2d-x-3.15.1;C:/Users/hasee/Desktop/cocos2d-x-3.15.1/cocos;C:/Users/hasee/Desktop/cocos2d-x-3.15.1/external -j4 NDK_DEBUG=1 C:/Users/hasee/Desktop/cocos2d-x-3.15.1/tests/cpp-tests/proj.android-studio/app/build/intermediates/ndkBuild/debug/obj/local/armeabi/libcpp_tests.so}
D:/AndroidSDK/ndk-bundle/build//…/build/core/setup-app.mk:81: Android NDK: Application targets deprecated ABI(s): armeabi
D:/AndroidSDK/ndk-bundle/build//…/build/core/setup-app.mk:82: Android NDK: Support for these ABIs will be removed in a future NDK release.
[armeabi] Compile++ arm : cpp_tests_shared <= main.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= ActionManagerTest.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= ActionsEaseTest.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= ActionsProgressTest.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= ActionsTest.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= AllocatorTest.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= BillBoardTest.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= Box2dTest.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= Box2dView.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= GLES-Render.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= Test.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= TestEntries.cpp
[armeabi] Compile++ arm : cpp_tests_shared <= Bug-CCDrawNode.cpp
直接 import 官方的cpptests 点击运行 直接报这个错误
as -v 2.3.3
ndk -v GNU Make 3.81
改过target = 22
其他的什么也没改过
这是什么原因 造成的 一直编译不过去