Skip to content
  1. First download the tar package and then extract in the /usr/local/ folder.
  2. After that Export path variables if necessary.
  3. After that go to /usr/share/applications and create a your-application.desktop and add the content similar to the given below
    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=true
    Name=Android Studio
    Comment=Launches Android Studio
    Icon=/usr/local/android-studio/bin/studio.png
    Exec=/usr/local/android-studio/bin/studio.sh
    X-Desktop-File-Install-Version=0.26
    

after this check if it is running 4. desktop-file-validate android-studio.desktop 5. install the file by sudo desktop-file-install android-studio.desktop This is an example of getting application to the launcher.

launcher #application-launcher #android-studio #/usr/local/ #/usr/share/applications #android-studio-desktop

Reference: https://bterczynski.medium.com/adding-android-studio-to-your-applications-launcher-and-favorites-bar-in-ubuntu-eff05e6abfd