[问答交流] 编译出错NDK: Expected two items in TARGET_TOOLCHAIN_LIST found "arm-linu..

[复制链接]
作者
超哥   发布于2022-8-14 10:32:55
问答交流
适用版本: 8.0.0.1 
********************* 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_LIST  found "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

解决方法:
游客,如果您要查看本帖隐藏内容请回复


回复

使用道具 举报

feifei423423    回复于03月16日 09:19
订单滴滴答答滴滴答答得到
回复

使用道具 举报

sissrz    回复于04月19日 06:42
fsddsfdsf dsfds
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 创建账号

本版积分规则

Archiver|小黑屋|( 冀ICP备2021005463号 )

GMT+8, 2024-4-20 20:28 , Processed in 0.117105 second(s), 26 queries , Gzip On.

N2N1 It社区 n2n1.cn

Copyright © 2001-2021,MeiCheng.

快速回复 返回顶部 返回列表