Open Android Studio "studio.sh" by double click on script file in ubuntu 14.04 [duplicate]

Solution 1:

To run Android Studio by double clicking on its icon, you will need to create a .desktop file for it:

[Desktop Entry]
Name=Android Studio
Comment=Android Studio script
Exec=/home/user/android-studio/bin/studio.sh
Icon=/home/user/android-studio/bin/studio.png
Terminal=false
Type=Application

Save the above as a file on your Desktop with a .desktop extension.

For first time it will give warning to trust on android studio.

I hope it helps.