Android NDK Xubuntu 18.04 - Setting Up NDK
-
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
-
5. Path Setup
Follow Setting Up the ANDROID_NDK Env Variable.
nano ~/.bashrc
Example Append (Following your NDK Installation Location):
/nexportANDROID_NDK=/opt/android-ndk*/nexport PATH=$PATH:$ANDROID_NDK
Ctrl+x to Save & Exit from nano Editor. ;)
Contents