Add to the end of ~/.bashrc:
For example the Java ENV vars:
export ANDROID_SDK_ROOT="$HOME/Android/Sdk"
JAVA_HOME=$(dirname $( readlink -f $(which java) ))
JAVA_HOME=$(realpath "$JAVA_HOME"/../)
export JAVA_HOME
Then run this to reload your bash without having to log out and in again:
source ~/.bashrc