Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

Cocos run -p android 时 ndk目录指向不存在的目录,请问如何修改过来

$
0
0

@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

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles