I am MAC OS X Yosemite I have done all the export tutorial to set the android_home but non of it working for me
One source of this problem comes from sudo. If you're sure you've set $ANDROID_HOME correctly then try the following:
sudo visudo
then add
Defaults env_keep += "ANDROID_HOME"