How to Install Android Studio on Ubuntu 24.04
You install Android Studio on Ubuntu 24.04 to start building Android applications.
Android Studio is the official Integrated Development Environment (IDE) from Google, providing all the tools you need for mobile app creation, including code editors and emulators.
This guide focuses on installing Android Studio using the Snap package, which is usually the most straightforward method for Ubuntu 24.04. You’ll typically get the latest stable version, like Android Studio Iguana (2023.2.1) or later.
You can install Android Studio on Ubuntu 24.04 using the Snap package manager. Open a terminal and run ‘sudo snap install android-studio –classic’. Afterwards, search for Android Studio in your applications menu or run ‘sudo snap run android-studio’ from the terminal.
Install Android Studio using the App Center
You can also install Android Studio through Ubuntu’s App Center. Open the App Center and search for Android Studio to begin the installation.

Once it’s installed, you’ll find it in your Dock, ready to launch.

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
Alternatively, you can use a PPA repository to get the latest version of Android Studio.
If you choose this method, make sure you have Java installed on your Ubuntu system, as it’s necessary for Android Studio to run.
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 and install Android Studio.
sudo add-apt-repository ppa:maarten-fonville/android-studio
After adding the repository file, run the command below to update your 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.
To uninstall the app, use 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 present on your system.
sudo apt install snapd
Then, run the following command 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 sandboxing for package installation, which enhances security and makes updates simpler.
Flatpak is a third-party application distribution system that isn’t included in Ubuntu by default.
You’ll need to install the Flatpak package manager first, and then you can install Android Studio from there.
First, update your system and install Flatpak.
sudo apt update && sudo apt upgrade
sudo apt install flatpak
Next, add the Flatpak repository to your Ubuntu system.
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Finally, install Android Studio.
flatpak install flathub com.google.AndroidStudio
Once installed, you can launch it using the command below or by opening the app in your 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.
How do I completely install Android Studio?
After copying the android-studio folder into your Program Files folder, navigate to the `android-studio/bin` directory. Then, launch `studio64.exe` for 64-bit systems or `studio.exe` for 32-bit systems. The Setup Wizard will guide you through installing any recommended SDK packages.
How to run Android Studio on Linux after installation?
Here, type `ls` to see the files. Now, we need to execute the `studio.sh` bash script. Type `sudo ./studio.sh` and press Enter. You’ll then be prompted for your root password.
Was this guide helpful?
About the Author
Richard
Tech Writer, IT Professional
Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.
No comments yet — be the first to share your thoughts!