gpt4 book ai didi

android - Cocos2d-x 3.13.1 : error with cocos run (Android)

转载 作者:塔克拉玛干 更新时间:2023-11-03 07:45:27 24 4
gpt4 key购买 nike

:-)

我从几天前搬到了 Cocos2d-x 3.13.1(我从 3.12 搬到了)。我的游戏在为 Linux 编译时运行良好。然而,当我尝试在我的 Android 设备上执行我的游戏时,我得到了这个:

drk@drk-pc ~/cocos2d-projects/SpaceRush $ cocos run -p android --android-studio
Building mode: debug
Using Android Studio project : /home/drk/cocos2d-projects/SpaceRush/proj.android-studio
running: '/home/drk/Android/Sdk/tools/android update project -t android-19 -p /home/drk/cocos2d-projects/SpaceRush/proj.android-studio/app'

Updated project.properties
Updated local.properties
Updated file /home/drk/cocos2d-projects/SpaceRush/proj.android-studio/app/proguard-project.txt
Building native...
NDK build mode: debug
running: '/home/drk/Android/android-ndk-r12b/ndk-build -C /home/drk/cocos2d-projects/SpaceRush/proj.android-studio/app -j12 NDK_MODULE_PATH=/home/drk/cocos2d-projects/SpaceRush/proj.android-studio/../cocos2d:/home/drk/cocos2d-projects/SpaceRush/proj.android-studio/../cocos2d/cocos:/home/drk/cocos2d-projects/SpaceRush/proj.android-studio/../cocos2d/external NDK_TOOLCHAIN_VERSION=4.9 NDK_DEBUG=1'

make: ingresso nella directory "/home/drk/cocos2d-projects/SpaceRush/proj.android-studio/app"
/home/drk/Android/android-ndk-r12b/build/core/build-module.mk:34: *** missing separator. Arresto.
make: uscita dalla directory "/home/drk/cocos2d-projects/SpaceRush/proj.android-studio/app"
Error running command, return code: 2.

我不知道如何解决这个问题,我不是Android构建专家!我尝试使用 NDK 11c 和 12b 进行编译。

谢谢你的帮助

最佳答案

尝试不同的 NDK,可能是 10e。

关于android - Cocos2d-x 3.13.1 : error with cocos run (Android),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39678798/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com