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

530 Valid Hostname Is Expected When Setting Up IIS 10 For Multiple Sites

C Perror Example

Converting A String To Int In Groovy