How to Install Android NDK on Linux Mint 17 Qiana LTS Step-by-Step Easy Guide

August 4, 2014 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Installing Android NDK on Linux Mint 17 Qiana

You are Welcome! The Tutorial shows you Step-by-Step How to Getting-Started with the Android Native Development Kit on Linux Mint 17 Qiana LTS i386/amd64 Mate/Cinnamon/Kde/Xfce Desktop.

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 Install Oracle JDK on Mint Linux.

The Android NDK Installation for Linux Mint 17 Qiana Require also the Android SDK so You will Find also Link to Download the Needed Android SDK for Mint Linux.

How to Install Android Emulator 9.0 on Ubuntu 20.04
  1. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Install Android NDK on Linux Mint 17 Qiana - Open Terminal
  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 Linux Mint 17 Qiana - Extraction
    Or from Command Line:

    tar xvf android-ndk*.tar.bz2 -C /tmp
  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*
    export PATH=$PATH:$ANDROID_NDK
    

    Ctrl+x to Save & Exit from nano Editor.

  6. Install Required Android SDK Tools Only for Mint:

    Install Android SDK for Mint
  7. Set Up ANDROID_SDK Environment Variable

    nano ~/.bashrc

    Example Append (Following your SDK Installation Location):

    exportANDROID_SDK=/opt/android-sdk-linux
    export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools
    

    Ctrl+x to Save & Exit from nano Editor.

  8. How to Install Recommended Oracle JDK on Linux Mint

    Install Oracle JDK for Linux Mint
  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
    export 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

Tags: , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress