I recently installed Android Studio , and to make the changes permanent I changed the PATH environment variable in .bashrc file, as shown in Second answer of this link.
I get following error messages or warning sort of things every time I launch a new terminal window.
bash: export: '=': not a valid identifier
bash: export: /home/android-studio/bin/:/usr/games:/home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin: ~/android-studio/bin': not a valid identifier`
This is what I did I opened .bashrc file using following command
nano .bashrc
then added following lines to .bashrc file.
export PATH = "$PATH:~/android-studio/bin"
Following is value in my path Variable
bash: /home/android-studio/bin: Is a directory