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

Are Regular VACUUM ANALYZE Still Recommended Under 9.1?

Can Feynman Diagrams Be Used To Represent Any Perturbation Theory?