O'Reilly logo

OpenGL Data Visualization Cookbook by William C. Y. Lo, Raymond C. H. Lo

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

Setting up the Android Native Development Kit (NDK)

The Android NDK environment is essential for native-code language development. Here, we will outline the setup steps for the Mac OS X platform again.

How to do it...

To install the Android NDK, follow these steps:

  1. Download the NDK installation package from the Android developer website at http://dl.google.com/android/ndk/android-ndk-r10e-darwin-x86_64.bin.
  2. Move the setup file into the same installation folder:
    mv android-ndk-r10e-darwin-x86_64.bin 3rd_party/android 
  3. Set the permission of the file to be an executable:
    cd 3rd_party/android && chmod +x android-ndk-r10e-darwin-x86_64.bin
  4. Run the NDK installation package:
    ./android-ndk-r10e-darwin-x86_64.bin
  5. The installation process is fully automated and the ...

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