Add the Android SDK’s sdk/tools directory and the Android NDK directory to the PATH variable. Linux: if the Android SDK is installed in /home/androiddev/adt and the Android NDK is installed in /home/androiddev/ndk the following line should be added to ~/. bashrc .