Thursday, February 4, 2016

How to make Android Studio accessible globally on Lubuntu

On other article, i already show you how to install android studio on lubuntu, in this article i will show you how to make android studio accessible globally on the command line of lubuntu.

As you know, the android studio is not really integrated into lubuntu, i mean it's not like other software that normally will show up on the lubuntu start menu.

To open android studio you will need to go to the android studio installation directory and then go to bin directory and finally run the script to trigger the IDE.

That's a lot of work, what if i want to run android studio with one simple command and can be run from anywhere on the console/terminal? yes you can do that!

All we have to do is create symbolic link which accessible globally and pointing to script, to do that, open terminal/console/command line and then type this command:

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

Done, we have just creating the symbolic link, and from now you can open android studio with one simple command which is 'studio', go ahead try it:


That command will trigger android studio IDE, so from now on whenever you want to build android apps, simply run the 'studio' command.

~ happy coding ~

No comments:

Post a Comment