<img alt="Android Studio installation" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/android-studio-ubuntu.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="512" src="data:image/svg xml,” width=”1024″>

Android Studio is the most widely used Integrated Development Environment (IDE) for Android mobile application development. Android Studio is developed by Google and can run on various operating systems such as Windows, macOS, and Linux. Most of the currently popular Android applications are developed using Android Studio. This tool has several built-in features that provide a stable and fast environment for developing applications.

In this article, we will show you how to install Android Studio on an Ubuntu 20.04 Linux system using an apt repository and also how to install it using Snap.

Installation of Android Studio on Ubuntu

We have two different ways to install Android Studio on an Ubuntu system. These are as follows:

  1. Install android studio by adding android-studio repository
  2. Install android studio through snap

Method 1: Install Android Studio through the repository

Using this method, you will install the android studio on your Ubuntu 20.04 system by adding its official repository to your source list. But first, you need to make sure some prerequisite packages must be installed on your Ubuntu system. Follow the following steps to install Android Studio through the repository:

Step 1: Install Java JDK on Ubuntu 20.04

You need to install Java JDK software which is required for the android studio. So, you will install Java JDK using the following command if it is not already installed on your system:

$ sudo apt install openjdk-11-jdk

<img alt="Install OpenJDK 11" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-606.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="730" loading="lazy" src="data:image/svg xml,” width=”808″>

If Java is already installed on your system then, you will skip this step to save your time.

Step 2: Add android-studio repository

Now, you will add the android studio official repository to your system. For this purpose, use the following command on the terminal:

$ sudo add-apt-repository ppa:maarten-fonville/android-studio

<img alt="Add Android studio PPA" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-607.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="526" loading="lazy" src="data:image/svg xml,” width=”801″>

During the installation, the prompt will display on the terminal, you will hit ‘Enter’ to continue adding its repository otherwise if you want to cancel this action then you will press ‘Ctrl – c’ to cancel adding the repository to your system.

Step 3: Update the apt-cache

After successfully adding the android repository, you will update your system apt-cache using the following command:

$ sudo apt update

<img alt="apt-get update" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-608.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="331" loading="lazy" src="data:image/svg xml,” width=”804″>Advertisement

Step 4: Install Android Studio

Now it’s time to install the android studio on your Ubuntu 20.04 system using the apt package manager. With the help of the following command you will install Android Studio with all its dependencies:

$ sudo apt install android-studio

<img alt="Install Android Studio" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-609.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="628" loading="lazy" src="data:image/svg xml,” width=”806″>

Step 5: Launch Android Studio

After completing the installation of the Android Studio, you will launch it using the application launcher search bar. For that purpose, click on Activities which is located at the top left corner of your desktop on the Ubuntu 20.04 system. Now, type the keyword ‘Android Studio’ in the search bar. As you will see the Android studio icon in search results as follows:

<img alt="Android Studio Icon" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-610.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="264" loading="lazy" src="data:image/svg xml,” width=”705″>

Click on the android studio icon and configure the setting of the android studio on the Ubuntu 20.04 system. Select don’t import settings as follows:

<img alt="Import settings" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-611.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="158" loading="lazy" src="data:image/svg xml,” width=”430″>

It will search for available SDK components on the following screen:

<img alt="Loading the application" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-612.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="266" loading="lazy" src="data:image/svg xml,” width=”427″>

Now, the Android setup wizard will start on your system. Click on Next as follows:

<img alt="Android Studio setup wizard" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-613.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="493" loading="lazy" src="data:image/svg xml,” width=”661″>

Choose the install type Standard or Custom. Choose the Standard option and click on Next button as follows:

<img alt="Choose installation type" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-614.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="542" loading="lazy" src="data:image/svg xml,” width=”725″>

Now, you need to select the user interface theme. Choose Light and click on Next.

<img alt="Choose App Theme" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-615.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="452" loading="lazy" src="data:image/svg xml,” width=”596″>

You can also choose another theme for the android studio as well.

<img alt="Settings" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-616.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="437" loading="lazy" src="data:image/svg xml,” width=”579″>

If you want to change any setting the click on the ‘Previous’ button. Otherwise, review the wizard setup settings and click on Next.

<img alt="Verify settings" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-617.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="437" loading="lazy" src="data:image/svg xml,” width=”579″>

Now, formal emulator settings will display on the dialog window. Click on the Finish button.

<img alt="Emulator settings" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-618.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="474" loading="lazy" src="data:image/svg xml,” width=”637″>

After that, the necessary components will begin to download on your system as follows:

<img alt="Downloading components" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-619.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="496" loading="lazy" src="data:image/svg xml,” width=”673″>

Once the download is complete, now you will click on Finish.

Now, the following window will display on your system from where you can use android studio on your system. Choose option Start a new android studio project to create a new application.

<img alt="Start new Android Studio project" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/04/echo/word-image-620.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="484" loading="lazy" src="data:image/svg xml,” width=”662″>

Congratulations! Android Studio has been installed and configured on your system Ubuntu 20.04.

Method 2: Install Android Studio through snap

You can install the android studio using snap on your Ubuntu system using the following command:

$ sudo snap install android-studio --classic

You can also install android studio using the below-mentioned command:

$ sudo snap remove android-studio

In this article, we implemented two different methods to install Android Studio on your Ubuntu 20.04 system. I hope you enjoyed this article. Now, you are able to install the android studio on any Ubuntu system.