简体   繁体   中英

Android NDK with Linux: “ndk-build” command not found

I'm new to Linux (Ubuntu) and I had a problem building the libraries in my project. I added the android ndk to the PATH like this:

  export PATH=$PATH:/android-ndk-r9b

and to Eclipse

but when I try to use the

ndk-build

command, I get this output:

ndk-build: command not found

Any help?

您的 PATH 应包含 NDK 的根目录:

export PATH=$PATH:/home/.../android-ndk-xxx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM