Search code examples
android-ndkosx-mountain-lion

How do you install the required development tools for the Android NDK on Mac OSX 10.8.x


On the android developer site (http://developer.android.com/tools/sdk/ndk/index.html#Reqs) there are required development tools.

I got GNU Make 3.81 installed after following this post to install the latest xcode (at the time of this question v 4.6) and then download the "Command line tools". To make sure it was installed and what version it was I executed this command in my terminal:

$ make --version

Q: What is the best way you would recommend to install the latest version of GNU Awk or Nawk on my Mac OSX 10.8.2? Do you recommend Awk or Nawk?

I checked that my Mac has "awk version 20070501" installed after executing this command:

$ awk --version

I also saw this post which seems like a nice solution for both my questions.


Solution

  • You simply need to download android-ndk-r8d-darwin-x86.tar.bz2 file. Uncompress it and you are done. It includes needed tools for OSX like make and awk inside it (under prebuilt/darwin-x86/bin folder). No need for Xcode.