超哥 发表于 2022-8-14 10:32:55

编译出错NDK: Expected two items in TARGET_TOOLCHAIN_LIST found "arm-linu..

********************* N2n1GAME(n2n1.cn)移动端开始编译 *********************
请按任意键继续. . .
E:\N2n1GAME\Client>CALL cocos compile -p android --android-studio -m release
编译模式:release
使用 Android Studio 工程:E:\N2n1GAME\Client\frameworks\runtime-src\proj.android-studio
未指定 Android 目标平台版本,自动查找一个可用版本...
正在执行:'"D:\android-sdk-windows\tools\android" update project -t android-21 -p E:\N2n1G
AME\Client\frameworks\runtime-src\proj.android-studio\app'

Updated project.properties
Updated local.properties
Updated file E:\N2n1GAME\Client\frameworks\runtime-src\proj.android-studio\app\proguard-pr
oject.txt
正在执行 ndk-build...
NDK 编译模式:release
NDK_TOOLCHAIN_VERSION: 4.9
正在执行:'"D:\android-sdk-windows\ndk-bundle\ndk-build" -C E:\N2n1GAME\Client\frameworks\
runtime-src\proj.android-studio\app -j8 NDK_MODULE_PATH=E:\N2n1GAME\Client\frameworks\runt
ime-src\proj.android-studio\../../cocos2d-x;E:\N2n1GAME\Client\frameworks\runtime-src\proj
.android-studio\../../cocos2d-x/cocos/;E:\N2n1GAME\Client\frameworks\runtime-src\proj.andr
oid-studio\../../cocos2d-x/external;E:\N2n1GAME\Client\frameworks\runtime-src\proj.android
-studio\../../cocos2d-x/cocos/scripting NDK_TOOLCHAIN_VERSION=4.9'

Android NDK: Found platform level in ./project.properties. Setting APP_PLATFORM to android
-21.
Android NDK: WARNING: APP_PLATFORM android-21 is higher than android:minSdkVersion 1 in ./
AndroidManifest.xml. NDK binaries will *not* be comptible with devices older than android-
21. See https://android.googlesource.com ... r/common_problems.m
d for more information.
make: Entering directory `E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/ap
p'
D:/android-sdk-windows/ndk-bundle/build//../build/core/setup-toolchain.mk:34: *** Android
NDK: Expected two items in TARGET_TOOLCHAIN_LISTfound "arm-linux-androideabi-4.9 arm-lin
ux-androideabi-clang arm-linux-androideabi-clang3.6"   .Stop.
make: Leaving directory `E:/N2n1GAME/Client/frameworks/runtime-src/proj.android-studio/app
'
执行命令出错,返回值:2。
*********************N2n1GAME(n2n1.cn)移动端编译出错*********************
请按任意键继续. . .

ndk16 BUG 出现问题编译器: 英特尔® System Studio 2018/英特尔® C++ 编译器 18.0
解决方法:
**** Hidden Message *****

feifei423423 发表于 2023-3-16 21:19:24

订单滴滴答答滴滴答答得到

sissrz 发表于 2023-4-19 18:42:59

fsddsfdsf dsfds
页: [1]
查看完整版本: 编译出错NDK: Expected two items in TARGET_TOOLCHAIN_LIST found "arm-linu..