1

I've downloaded and installed Android Studio and also added the path to my .bashrc

export PATH="~/android-studio/bin/:$PATH"

What I'm looking at now is that one command which will launch android studio from anywhere in the Ubuntu file system. For example if I type subl or atom anywhere it opens up the respective editor. Can something like that be done here?

Clockwork
  • 219
  • There's a mistake in that. If you wrap ~ in quotes, it won't get expanded to your home directory. Use $HOME instead, or keep the ~ outside the quotes. Test with echo $PATH. – muru Jan 27 '15 at 14:28

1 Answers1

6

Actually I figured it out. Just created this sym link

sudo ln -s ~/android-studio/bin/studio.sh /usr/local/bin/studio

Now typing the word studio would launch Android Studio from anywhere on the file system.

Clockwork
  • 219