How to Install Android NDK on Kubuntu 14.04 Trusty LTS 32-64bit Linux Step-by-Step Easy Guide

December 15, 2014 | By the+gnu+linux+evangelist.

Installing Android NDK on Kubuntu 14.04 Trusty

Hi! The Tutorial shows you Step-by-Step How to Getting-Started with the Android Native Development Kit on Kubuntu 14.04 Trusty Tahr LTS i386/amd64 Linux.

The Android NDK is a Toolset that allows you to Implement parts of your App using Native-Code Languages such as C and C++.

Android Development Require Oracle Java JDK 6+ so I have Included Link to How to Download and Install Oracle JDK on Kubuntu Linux.

The Android NDK Installation for Kubuntu 14.04 Trusty Require also the Android SDK so you will Find also Link to Download the Needed Android SDK for Kubuntu Linux.

Android Studio Fedora 39 Installation – Step-by-step
  1. Open a Command Line Shell Session
    (Press “Enter” to Execute Commands)

    Getting-Started with Android NDK on Ubuntu - Open Terminal

    In case first see: Terminal QuickStart Guide.

  2. Download Android Native Development Kit for Linux

    Android NDK Linux 64-bit .zip
  3. Double-Click on Archive and Extract into /tmp.

    Install Android NDK on Kubuntu 14.04 Trusty Linux - Extraction
  4. Relocate Android NDK Folder

    sudo chown -R root:root /tmp/android-ndk*
    sudo mv /tmp/android-ndk* /opt

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  5. Set Up ANDROID_NDK Environment Variable

    nano ~/.bashrc

    Example Append (Following your NDK Installation Location):

    exportANDROID_NDK=/opt/android-ndk*/nexport PATH=$PATH:$ANDROID_NDK
    

    Ctrl+x to Save & Exit from nano Editor.

  6. Install Required Android SDK Tools Only for Kubuntu:

    Install Android SDK for Kubuntu
  7. Set Up ANDROID_HOME Environment Variable

    nano ~/.bashrc

    Example Append (Following your SDK Installation Location):

    exportANDROID_HOME=/opt/android-sdk-linux/nexport PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
    

    Ctrl+x to Save & Exit from nano Editor.

  8. How to Install Recommended Oracle Java JDK on Kubuntu

    Install Oracle JDK for Kubuntu
  9. Set Up JDK_PATH Environment Variable

    nano ~/.bashrc

    Example Append (Following your JDK Installation Location):

    export JDK_PATH=/usr/lib/jvm/jdk1.[X]*/bin/nexport PATH=$PATH:$JDK_PATH
    

    Ctrl+x to Save & Exit from nano Editor.

    Load New Environment Variables:

    bash
  10. Getting-Started with Android NDK on Eclipse

    Eclipse Android NDK Integration

QuickChic Theme • Powered by WordPress