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 Ubuntu

  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 Linux, which is packaged as a Tar/GZ archive.
  3. Then, go to http://developer.android.com/sdk/ndk and download the Android NDK (not SDK!) for Linux, packaged as a Tar/BZ2 archive this time.
  4. Uncompress the downloaded archives separately into the directories of your choice (for example, ~/AndroidSDK and ~/AnroidNDK). On Ubuntu, you can use Archive Manager (right-click on the archive file and Extract Here).
  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 ...

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