Following the tutorial getting an error:


#1

When i get to:

$ ionic platform android

I get an error:

Error: ANDROID_HOME is not set and “android” command not in your PATH. You must fulfill at least one of these conditions.


#2

It means you don’t have the android sdk added to your path.

http://cordova.apache.org/docs/en/3.4.0/guide_platforms_android_index.md.html#Android%20Platform%20Guide