hi i am using ubuntu 12.04. and in ~/.bashrc file I set following things
export ANDROID_HOME=/home/nilkash/Downloads/android-sdk-linux/platform-tools
android: command not found error
Solution for Linux and Mac:
1) Export your Android Sdk path to the ANDROID_HOME variable
$ export ANDROID_HOME=~/Android/Sdk (where ~/Android/Sdk is a full path to your Sdk folder)
(change "~" to "$HOME" on Mac)
2) Export Sdk tools to the PATH variable
$ export PATH=$ANDROID_HOME/tools:$PATH
That's it!