[SOLVED] Ionic platform add android


My ~/.bash_profile:

export PATH=$PATH:/Users/richard/adt/sdk/platform-tools:/Users/richard/adt/sdk/tools
export PATH=$PATH:/Users/richard/npm/bin
export JAVA_HOME=$(/usr/libexec/java_home)

Android SDK installed with:

  • Android SDK Tools v23.0.2 / v20 / v19

This is what exactly i do :

source ~/.bash_profle    
ionic platform add android

but it fails … the return:

Error: Please install Android target 19 (the Android newest SDK). Make sure you have the latest Android tools installed as well. Run "android" from your command-line to install/update any missing SDKs or tools. 



enter command android, it should enter the android sdk manager, check if android sdk build-tools inside tools has the 19 revision is checked , also check inside Android someversion… direectory if Sdk platform api 19 is checked. Then install them. Maybe thats it.


Thank you @duall

Yes …



I found, I missed Android 4.4.2 (API 19)