@343747757 写道:
echo $NDK_ROOT /usr/local/Cellar/android-ndk/r10e
执行 cocos run -p android --ap android-19 时 最后报错: 正在执行 ndk-build... NDK 编译模式:debug 正在执行:'/usr/local/Cellar/android-ndk-r9d/r9d/ndk-build -C /Users/linus/ClionProjects/cocos-new/MyGame2/proj.android -j4 NDK_MODULE_PATH=/Users/linus/ClionProjects/cocos-new/MyGame2/proj.android/../cocos2d:/Users/linus/ClionProjects/cocos-new/MyGame2/proj.android/../cocos2d/cocos:/Users/linus/ClionProjects/cocos-new/MyGame2/proj.android/../cocos2d/external NDK_TOOLCHAIN_VERSION=4.9 NDK_DEBUG=1' /bin/sh: /usr/local/Cellar/android-ndk-r9d/r9d/ndk-build: No such file or directory 执行命令出错,返回值:127。
帖子: 4
参与者: 1