How to Install Android NDK Development Kit on Ubuntu 19.10 Eoan Easy Guide

September 23, 2019 | By thelinuxevangelist | Filed in: Tutorial.

Installing NDK

  1. 6. Downloading

    Download Android Native Development Kit for Linux

    Android NDK Linux 32/64-bit
  2. 7. Extracting

    Then Extract into /tmp
    Eventually, Double-Click or Right-Click and Open with Archive Manager:

    How to Install Android NDK Development Kit on Ubuntu 19.10 Eoan - Android NDK Extraction

    Or from Command Line:

    tar xvf android-ndk*.tar.bz2 -C /tmp
  3. 8. Installing

    Now to Install Android NDK
    First Set the SuperUser as Owner with:

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

    And then Relocate Android NDK Folder:

    sudo mv /tmp/android-ndk* /opt

    If Got “User is Not in Sudoers file” then Look: Solution

  4. 9. Setting Up ANDROID_NDK Env

    Finally, Set Up ANDROID_NDK Environment Variable
    Again Editing the same File:

    nano ~/.bashrc

    So as in our Setup, Append:

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

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