There are many online tutorials on installing Android Studio in the Linux environment, but they vary from release to release. Here are the methods for installing on the Zorin system and creating shortcuts using the packaged installation package provided by the official website. :
Step 1: Download the installation package from the official website
Portal: https://developer.android.com/studio
Step 2: Unzip the compressed package and move it to the /opt
directory:
$ tar -zxvf android-studio-ide-191.6010548-linux.tar.gz
$ mv android-studio-ide-191.6010548-linux/android-studio /opt/
Step 3: Create a shortcut
$ sudo vim /usr/share/applications/android_studio.desktop
Write the following:
Desktop Entry]
Name=AndroidStudio
Type=Application
Icon=/opt/android-studio/bin/studio.png
Exec=sh /opt/android-studio/bin/studio.sh
Name[zh_CN]=androidstudio.desktop
You can see the software icon in the program list.
Recommended Posts