Android ubuntu 上的 NDK 安装

Android NDK Installation on ubuntu

我从 http://developer.android.com/tools/sdk/ndk/index.html#Installing 下载了最新的 ndk。 为了安装 ndk,我在终端中使用了以下命令。

chmod a+x android-ndk-r10c-darwin-x86_64.bin

它返回说 chmod: 无法访问 `android-ndk-r10c-darwin-x86_64.bin': 没有那个文件或目录

请帮忙!

Please set Path on Command android-ndk-r10c-darwin-x86_64.bin is placed 运行 这一行像:

C:\User\folder Name of android-ndk-r10c-darwin-x86_64.bin placed\ chmod a+x android-ndk-r10c-darwin-x86_64.bin

android-ndk-r10d-linux-x86_64.bin。如果您使用 ubuntu 64 位版本,您应该下载 linux-x86_64.bin 一个。 darwin is for Mac OS X,如果你已经下载了正确的文件,使用这个命令

chmod a+x android-ndk-r10d-linux-x86_64.bin