Installing Android Studio in Linux is kind of boring. They just give you a compressed file which you have to extract, and the installation instructions say this:
2. Open a console and cd into "{installation home}/bin" and type:
./studio.sh
There's a simpler option. Install it using snap.
sudo snap install android-studio --classic
However if you don't want to use this version created by the Snapcraft ream, use the default Android Studio from the official website. First, navigate into that bin folder using a terminal and make the sh file executable using:
chmod +x studio.sh
Now type:
sudo -H gedit /usr/share/applications/AndroidStudio.desktop
and enter the following contents in the file:
[Desktop Entry]
Version=1.0
Name=Android Studio
Comment=Android SDK
GenericName=IDE
Keywords=IDE, Android, SDK, Studio
Exec=/home/yourUsername/android-studio/bin/./studio.sh %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=/home/yourUsername/android-studio/bin/studio.png
Categories=GNOME;GTK;
StartupNotify=true
That's it. After you close the file, you'll be able to start Android Studio from the Ubuntu app menu.