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
... DEV PROJECT ...
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.
Why?