How to Install Android NDK Linux Mint 18 Easy Guide

June 19, 2017 | By thelinuxevangelist | Filed in: Tutorial.

Android NDK Linux Mint 18 Installation Guide

Hello Mint User! The Tutorial Shows You Step-by-Step How to Install Android NDK Linux Mint 18.x Sara/Serena/Sonya/Sylvia LTS 32/64-bit GNU/Linux.

First of all the Android NDK is a toolset that allows you to implement parts of your app using native-code languages such as C and C++.

Especially relevant: Android Development Require Oracle Java JDK 6+ so I have Included Link to How to Install Oracle JDK on Mint Linux.

Finally, the Android NDK Installation Require also the Android SDK so You will Find also Link to Download the Needed Android SDK for Mint Linux.

How to Install Android NDK Linux Mint 18 - Featured
  1. Open a Shell Terminal emulator window
    (Press “Enter” to Execute Commands)

    How to Install Android NDK Linux Mint 18 - Open Terminal
  2. Download Android Native Development Kit for Linux:

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

    How to Install Android NDK Linux Mint 18 - Extraction
  4. After Relocate the 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 Look: Solution

  5. Follow Setting Up the ANDROID_NDK Env Variable
    nano ~/.bashrc

    Example Append (Following your NDK Installation Location):

    	export 	ANDROID_NDK=/opt/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. And also Set Up the ANDROID_SDK Env Variable
    nano ~/.bashrc

    For instance Append (Following your SDK Installation Location):

    	export 	ANDROID_SDK=/opt/android-sdk-linux
    	export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools
  8. How to Install Recommended Oracle Java JDK on Mint:

    Install Oracle JDK for Mint
  9. Finally, to Set Up JDK_PATH Env Variable
    nano ~/.bashrc

    Example Append (Following your JDK Installation Location):

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

    Load the New Environment Variables simply with:

  10. Getting-Started with Android NDK on Eclipse:

    Eclipse Android NDK Integration

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