I need set environment variables for Android Studio project EVERY TIME when reboot or close terminal. (Ubuntu 14.04) For setting variables I use: export KEYSTORE_NAME=/home/anna/Do
Solution 1:
Put those lines in
/home/anna/.bashrc
or in
/home/anna/.bash_profile
depending on which file you use. I think it is
.bashrc
in Ubuntu by default.
If you want to make changes made to that file be effective without restarting run command:
source /home/anna/.bashrc
Post a Comment for "Ubuntu: Setting Environment Variables"