How to Install Android NDK on Kubuntu 18.04 Bionic LTS Easy Guide

November 6, 2018 | By the+gnu+linux+evangelist.

Android NDK Kubuntu 18.04 - Setting Up NDK

  1. 4. Switching NDK

    After Relocate the Android NDK Folder
    First, Set the SuperUser as Owner with:

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

    And then Switch Contents:

    sudo mv /tmp/android-ndk* /opt

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

  2. 5. Path Setup

    Follow Setting Up the ANDROID_NDK Env 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. ;)


QuickChic Theme • Powered by WordPress