need to install ionic see ionic install chapter need phonegap/cordova as documented above need to install android link to installing android studio need to configure ant, java, android sdk tools in path

.bash_profile

PATH=/Users/edlovesjava/Library/Android/sdk/platform-tools:/Users/edlovesjava/Library/Android/sdk/tools:$PATH

.profile

JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home;
export JAVA_HOME;
PATH=$PATH:$JAVA_HOME
ANT_HOME=/Users/edlovesjava/tools/apache-ant-1.9.4
export PATH=$ANT_HOME/bin:$PATH

need to use andoid command line to select ‘android-19’ image but failed because I thought they were talking about tools sdk version 19 but actually it was the sdk 4.4.2 (API 19)!

see stackoverflow article