Android Studio is a well-known software tool for developing Android applications. It is developed by Google and is available for installation on many operating systems such as Linux, Windows, and macOS. Android Studio is a multifunctional mobile app and user interface development tool.
In this article, I will explain how to install Android Studio on a CentOS 8 desktop system. I will show you two installation methods, first using the Snap installer, and then using the official Android Studio installer from Google.
To install Android Studio on your system, you need to have Java installed as a prerequisite. As most Android Studio packages are built in Java.
First, make sure Java is already installed on your system or not using the following command:
$ java -version
If java is not already installed, you can install it using the following command:
$ sudo yum install openjdk-11-jdk
Installing Android Studio on CentOS 8 using a snap
Android Studio is not available in the official Yum package repository for CentOS 8. So you need to install a different method. The snap application can be used to install Android Studio on CentOS 8. To do this, you will first install snap on your system using the following command:
$ sudo yum install snapd
After completing the installation of the snap-in, you will install Android studio using the snap-in package manager with the following command:
$ sudo snap install android-studio --classic
After the Android Studio installation is complete, you will launch this tool using the app’s search bar. Enter “android-studio” in the search bar, you will see the android studio icon in the search results as follows:
You can also launch Android Studio by typing android-studio in a terminal window like this:
You can also uninstall or uninstall Android studio using the following command:
$ sudo snap remove android-studio
Installing Android Studio from the Android site
You can also download the latest Android studio from the official Android website here. https://developer.android.com/studio… Open the URL and click on “Download Options” on the web page that opens.
Here you will choose the desired Android Studio IDE according to your system requirements. Select Android Studio IDE for 64-bit Linux system to download.
Accept the following terms to download Android studio:
This will save the Android studio IDE for Linux in your system’s downloads folder.
Go to Downloads using the following command and a list of files:
$ cd Downloads $ ls
Now unzip the tar file using the following command:
$ tar -xvf android.tar.gz
After extracting the tar file, you will go to the android studio folder and then to bin. Here you run the studio.sh file with the following command:
Or click this file directly to run it.
Now the following dialog will be displayed on your CentOS 8 desktop. Select “Do not import settings” and click “OK”.
In the next communication dialog box, you select the Do Not Send option.
At this point, you will see the Android Welcome Wizard installed on the system. Click Next.
In the next dialog box, you will select the “Standard” installation for Android studio and click “Next”.
You will now select the Light UI theme for Android studio as follows:
In the next wizard, you will check the installation settings and click the Next button.
In the next window, you will review the emulator settings and click the “Finish” button.
After that, all android studio components will start loading into your system.
After a while, you will see that all the components have been downloaded to your CentOS 8 system. Then you will click the Finish button.
The following window will appear on your system:
The above window shows that the Android Studio IDE has been successfully configured on your system. Now you can create new Android projects and enjoy them.
In this article, we learned how to install one of the most popular android studio mobile app development tools on CentOS 8 using the snap installer and the official android studio installer. Now you can create new innovative unique applications with this tool.
How to install Android Studio on CentOS 8