I need to set environment variables to build an Ionic application, open the terminal and run the command:
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
Without closing the terminal I type echo $ANDROID_SDK_ROOT, and the environment variable is returned perfectly, so I run "source ~/.bash_profile", to update the environment variables. I open and close the terminal and my environment variable is empty! I tried to set it manually by opening the environment variables files, with a text editor but without success.