I am trying to build android for ionic in linux but its showing me an error like this
[Error: Failed to find \'ANDROID_HOME\' environment variable.
Android Home should be the root folder of SDK.
export ANDROID_HOME="$HOME/android-sdk-linux"
EDIT: Open terminal and type these commands. (yes, on a ternimal , not in bashrc file)
export ANDROID_HOME=~/android-sdk-macosx
PATH=$PATH:$ANDROID_HOME/tools
PATH=$PATH:$ANDROID_HOME/platform-tools
and then in the same terminal just type android. If configured you would be able to use build commands from this terminal. (it's a temporary solution)