android studio编译报错 帮我看看

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
其他的什么也没改过

这是什么原因 造成的 一直编译不过去

你贴的这个日志最开始有 Error while executing, 但是没有错误的内容, 是不是没有贴全呢?

猜测可能是 ndk 版本 或者你修改 target = 22 导致的, 你可以修改下再试试看.

那我该如何修改target 使用官方的13么??? 错误 我再贴到下面你在帮我看看 实在不行加下我QQ841127654 帮我 看看 谢谢

好了 ,谢谢你啊 解决的方法 是 好像是因为官方的代码 少了两个头饮用 ,我加上之后就build成功了 具体的位置忘了在哪里了 十分感谢你的回复