Adding a path to Ubuntu

To run android studio from any folder, I had to add it’s bin directory to my Path variable.

echo $PATH
It shows the current situation.
Now I must edit /etc/environment :
gedit /etc/environment
I should find PATH="$HOME/bin:$PATH" and change it to:
PATH="$HOME/bin:$PATH:/home/omid/anddev/android-studio/bin"
After a log off / login it must work fine.