O'Reilly logo

Android NDK Beginner's Guide by Sylvain Ratabouil

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – installing Android SDK and NDK on Mac OS X

  1. Open your web browser and go to http://developer.android.com/sdk. This web page lists all available SDKs, one for each platform.
  2. Download Android SDK for Mac OS X, which is packaged as a ZIP archive.
  3. Then, go to http://developer.android.com/sdk/ndk and download the Android NDK (not SDK!) for Mac OS X, packaged as a Tar/BZ2 archive this time.
  4. Uncompress the downloaded archives separately into the directory of your choice (for example, /Developer/AndroidSDK and /Developer/AndroidNDK).
  5. Let’s declare these two directories as environment variables. From now on, we will refer to these directories as $ANDROID_SDK and $ANDROID_NDK throughout this book. Assuming you use the default Bash command-line ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required