Install latest Android Studio on Ubuntu 22.04

Android studio is a code editor used for the Android OS. It is developed especially for Android development on the IntelliJ IDEA. It is a multi-platform tool that works with various built-in features.

Android Studio has the key features that are utilized in developing Android applications. It is very popular as it replaced the former Eclipse IDE. This post will explain the enhanced knowledge for installing the latest Android Studio on Ubuntu 22.04.

Method 1: Install the Latest Android Studio on Ubuntu 22.04  With PPA Repository

Ubuntu does not come with the Android Studio packages in its default repository. However, it can be installed on Ubuntu 22.04 using the PPA (Personal Packages Archive) repository. Ensure you have installed JDK before installing the Android Studio on Ubuntu 22.04. If not, you can also install it before installing Andriod studio on Ubuntu 22.04. To install the latest Android Studio on Ubuntu 22.04, go along with the provided step-by-step process:

Step 1: Install JDK

To install Java on Ubuntu 22.04, run the provided command as below:

$ sudo apt install default-jdk

The default-JDK was installed successfully.

 Step 2: Addition of the PPA repository

To add the PPA repository of Android studio (offered by maarten-fonville) into the system packages, run the following command:

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

The PPA repository of Android Studio was added successfully.

Step 3: Upgrade System Packages

For upgrading the default system packages, execute the below script:

$ sudo apt update

The official system packages are updated.

Step 4: Install the Latest Android Studio

Installing the Android Studio on Ubuntu 22.04, execute the command below:

$ sudo apt install android-studio

The Android Studio has been run.

How to Launch Android Studio on Ubuntu 22.04?

After installing the Android Studio, the user can launch it for further use by using the following process:

Click on the Activities and navigate towards the search bar to find the Android Studio as follows:

After clicking on the app launcher, the following start-up interface will open:

After that, the following Welcome window Wizard will appear where you can set the environment for Android Studio.

Finally, after choosing the option, the Android Studio will open as follows:

You can create a New Project, Open the existing project or Get from VCS (version control system).

How to Remove the Latest Android Studio From Ubuntu 22.04?

If you have installed the Android Studio using the terminal, you can remove/uninstall it with the help of the following APT command:

$ sudo apt remove android-studio

The Android Studio was removed/uninstalled successfully from Ubuntu 22.04.

Method 2: Install the Latest Android Studio on Ubuntu 22.04 from Snap

Snap is the complete software package suite used to install several applications on Ubuntu 22.04 To install Android Studio using Snap, run the following command:

$ sudo snap install android-studio --classic

The Android Studio is installed.

How to Remove the Latest Android Studio from Ubuntu 22.04

If you want to remove/uninstall the latest Android Studio from Ubuntu 22.04 via Snap, execute the below script:

$ sudo snap remove android-studio

The output indicates that the Android Studio has been removed from Ubuntu 22.04.

Congratulations! You have successfully learned the various methods to install the latest Android Studio on Ubuntu 22.04.

Conclusion

Android Studio can be installed on Ubuntu 22.04 using the PPA repository or Snap. Android studio is a code editor used for the Android OS. It is developed especially for Android development on the IntelliJ IDEA. This expressive write-up illustrated the enhanced knowledge to install the latest Android Studio on Ubuntu 22.04. We have also provided the uninstallation methods of Android Studio from Ubuntu 22.04.