How-to Install Android NDK Development Kit on Fedora 32-64bit Linux Easy Guide

November 26th, 2013 by thelinuxevangelist

Install Android NDK on Fedora Linux

The Tutorial Shows You Step-by-Step How-to Install the Android Native Development Kit on Fedora 15/16/17/18/19/20/21/22/23/24/25/26/27 i686/x8664 Linux.

The 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 Fedora Linux.

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

Install Android NDK on Fedora Linux - Featured
  1. Download Android Native Development Kit for Linux:

    Android NDK Linux 32/64-bit
  2. Double-Click or Right-Click on Archive and Extract into /tmp

    Install Android NDK on Fedora Linux - Android NDK Extraction
  3. 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 Look: Solution

  4. Set Up ANDROID_NDK Environment Variable
    nano ~/.bashrc

    Example Append (Following your NDK Installation Location):

    export ANDROID_NDK=/opt/android-ndk*
    export PATH=$PATH:$ANDROID_NDK

    Ctrl+x to Save & Exit from nano Editor.

  5. Install Required Android SDK Tools Only for Fedora:

    Install Android SDK on Fedora
  6. Set Up ANDROID_SDK Environment Variable
    nano ~/.bashrc

    Example Append (Following your SDK Installation Location):

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

    Ctrl+x to Save & Exit from nano Editor.

  7. How-to Install Recommended Oracle Java JDK on Fedora:

    Install Oracle JDK for Fedora
  8. Set Up JDK_PATH Environment Variable
    nano ~/.bashrc

    Example Append (Following your JDK Installation Location):

    export JDK_PATH=/usr/lib/jvm/jdk1.7*/bin
    export PATH=$PATH:$JDK_PATH

    Ctrl+x to Save & Exit from nano Editor.

  9. Getting-Started with Android NDK on Eclipse:

    Eclipse Android NDK Integration

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