Add Android-studio/bin/ To PATH Environmental Variable


Answer :

It looks like you edited this code snippet:

if [ -d "$HOME/bin" ] ; then     PATH="$HOME/bin:$PATH" fi 

which is included in ~/.profile by default.

The answer which lead you to do so is confusing IMNSHO.

I'd suggest that you change that code back to what it looked like before, and instead add a new line underneath it:

if [ -d "$HOME/bin" ] ; then     PATH="$HOME/bin:$PATH" fi  PATH="$PATH:/usr/local/Android/android-studio/bin" 

Then, next time you log in, PATH ought to be altered, whether $HOME/bin exists or not.


Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable