1 2 3 4
export PATH="$PATH:/opt/android-ndk-beta" export ANDROID_NDK=/opt/android-ndk-beta # Some programs such as gradle ask this as well: export ANDROID_NDK_HOME=/opt/android-ndk-beta