Why can't I run any Android NDK commands?

Posted by TheBuzzSaw on Ask Ubuntu See other posts from Ask Ubuntu or by TheBuzzSaw
Published on 2012-07-24T14:55:04Z Indexed on 2012/09/21 3:50 UTC
Read the original article Hit count: 258

Filed under:
|
|

I had been running Mint 12 before, and everything was working there. I switched to Ubuntu 12.04, and now I am very frustrated.

When I run ndk-build, I get

/home/buzz/ndk/prebuilt/linux-x86/bin/make: not found

So, I changed to that folder directly. When I type in ./make, I get

bash: ./make: No such file or directory

Typing ls clearly shows the file where I am! I did some hacking around (pointing to external tools) to get past each error (just to experiment), and I ran into this!

/home/buzz/ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: Command not found

Why? Why are all these files unable to be found? As I said above, this was all working just fine in another distro. What changed? What's extra frustrating is that if I push TAB to auto-complete, it works. So, the file is clearly there (and clearly marked with execution permissions). So, why can't it be found?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about command-line