I am following the tutorials here. Click.
When i reach the command to enable the Android platform: $ ionic platform android
I receive this error:Error: ANDROID_HOME is not set and “android” command not in your PATH. You must fulfill at least one of these conditions.
I followed this to setup my environment variables. Click
If i echo my envrioment variable $ANDROID_HOME: khan@ubuntu:~$ echo $ANDROID_HOME
/home/khan/Android/sdk
Which is pointing to the correct path. So why am i still receiving this error?