How to create a shortcut for sh file?

Create a file ( Desktop File ) with this content:

[Desktop Entry]
Version=1.0
Name=Android Studio 
Type=Application 
Icon=/PATH/TO/ICON/studio.png 
Exec=/PATH/TO/studio.sh 

Change /PATH/TO/ICON/studio.png and /PATH/TO/studio.sh accordingly.
save the file as: android-studio.desktop in /usr/share/applications

Now you'll be able to search in the Dash for Android Studio


The easiest and fastest way to do this is:

after you open the program the same way you mentioned, right click on the program (from the programs bar/menu bar on the left) and click "Lock to Launcher".