This article explains how to install Android Studio on Ubuntu 24.04.
Android Studio is Google’s Android operating system’s official integrated development environment (IDE). It provides a comprehensive set of tools for developing Android applications, including code editing, debugging, performance tooling, an Android virtual device (AVD) for testing apps, and support for various programming languages like Java and Kotlin.
Installing Android Studio on Ubuntu can provide a seamless and efficient environment for Android app development.
There are multiple ways to install Android Studio on Ubuntu Linux. We are going to list some of the ways one can install this tool on Ubuntu.
Install Android Studio using the App Center
One way to install Android Studio on Ubuntu is by using the App Center app. Click on the App Center app to open it.

When the app opens, use the search box to search for Android Studio to install it.

Install the app

Once installed, use the Dock on the left sidebar to search and launch the Android Studio app.

Install Android Studio using PPA repository
Another way to install Android Studio on Ubuntu is to use a PPA repository to get the latest.
Using this method, you must ensure that JAVA is installed on Ubuntu since it’s required to run the app.
First, install the default JAVA version for Ubuntu by running the command below.
sudo update
sudo apt install default-jdk
Once JAVA is installed, run the command below to add the PPA repository to install Android Studio.
sudo add-apt-repository ppa:maarten-fonville/android-studio
After adding the repository file, run the command below to update the system’s package index and install Android Studio.
sudo apt update
sudo apt install android-studio
Once installed, use the Dock on the left sidebar to search and launch the Android Studio app.
Uninstall the app using the command below.
sudo apt remove android-studio
Install Android Studio using the Snap package manager
Yet, another way to install Android Studio is to use the Snap package manager.
To do that, install the Snap package manager if it’s not already installed.
sudo apt install snapd
Then, run the command below to install Android Studio from the Snap package manager.
sudo snap install android-studio --classic
Once installed, use the Dock on the left sidebar to search and launch the Android Studio app.
You can also run the app using the command below.
sudo snap run android-studio
Remove the app using the command below.
sudo snap remove android-studio
Install Android Studio using Flatpak
Another way to install Android Studio is to use the Flatpak package manager. Flatpak uses a sandboxing package installation, enhancing security and allowing easy updates.
Flatpak is a third-party application distribution system that is not included in Ubuntu by default.
You must install the Flatpak package manager and then install Discord from there.
First, update and install Flatpak.
sudo apt update && sudo apt upgrade
sudo apt install flatpak
Next, add the Flatpak repository to Ubuntu.
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Finally, install Discord.
flatpak install flathub com.google.AndroidStudio
Once installed, you can launch it using the command below or open the app in the desktop apps center.
flatpak run com.google.AndroidStudio
Uninstall the app using the command below.
flatpak uninstall com.google.AndroidStudio
That should do it!
Conclusion
Installing Android Studio on Ubuntu 24.04 can greatly enhance your Android app development experience. Here are the key points to remember:
- Multiple Installation Methods: You can choose various methods to install Android Studio, including App Center, PPA repository, Snap package manager, and Flatpak.
- Java Requirement: Ensure that Java is installed prior to using PPA or Snap, as it is essential for running Android Studio.
- Ease of Use: Each installation method offers a straightforward approach, making it accessible for developers of all levels.
- Uninstallation: Uninstalling Android Studio is simple, with commands available for each installation method.
- Enhanced Development Tools: Android Studio provides powerful tools for coding, debugging, and testing, streamlining the app development process.
Following the steps outlined above, you can set up a solid development environment on your Ubuntu system, enabling you to create innovative Android applications efficiently.
Leave a Reply