Follow
Ubuntu Linux

How to Install Android Studio on Ubuntu 24.04

Richard
Written by
Richard
Dec 16, 2024 Updated Mar 20, 2026 4 min read
How to Install Android Studio on Ubuntu 24.04
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.

⚡ Quick Answer

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.

Searching for Android Studio in the Ubuntu App Center interface
Searching for Android Studio in the Ubuntu App Center interface

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

Android Studio app in App Center
Android Studio app in App Center

Install the app

Android Studio app in App Center install
Android Studio app in App Center install

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

Android Studio app home
Android Studio app home

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.

🐧Bash / Shell
sudo update
sudo apt install default-jdk

Once Java is installed, run the command below to add the PPA repository and install Android Studio.

🐧Bash / Shell
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.

🐧Bash / Shell
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.

🐧Bash / Shell
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.

🐧Bash / Shell
sudo apt install snapd

Then, run the following command to install Android Studio from the Snap package manager:

🐧Bash / Shell
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.

🐧Bash / Shell
sudo snap run android-studio

Remove the app using the command below.

🐧Bash / Shell
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.

🐧Bash / Shell
sudo apt update && sudo apt upgrade
sudo apt install flatpak

Next, add the Flatpak repository to your Ubuntu system.

🐧Bash / Shell
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Finally, install Android Studio.

💻Code
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.

💻Code
flatpak run com.google.AndroidStudio

Uninstall the app using the command below.

💻Code
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?

Was this helpful?
Richard

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.

📚 Related Tutorials

How to Install Ubuntu Linux
Ubuntu Linux How to Install Ubuntu Linux
How to Uninstall Software in Ubuntu Linux
Ubuntu Linux How to Uninstall Software in Ubuntu Linux
How to Install GNOME Desktop on Ubuntu 24.04
Ubuntu Linux How to Install GNOME Desktop on Ubuntu 24.04
How to Install KDE Desktop on Ubuntu 24.04
Ubuntu Linux How to Install KDE Desktop on Ubuntu 24.04

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *