On Ubuntu, how to install Android Studio

We independently review everything we recommend. When you buy through our links, we may earn a commission.

Installing Android Studio on Ubuntu is necessary to get started with developing for Android.

Over 2.5 billion different devices across the world are powered by the Android operating system. The need for Android software developers to build new applications and support current applications is quite high.

Installing Android Studio on Ubuntu will get you started with Android app development. Android Studio includes the Android Software Development Kit (SDK), the Java Development Kit (JDK), and other software that is required to begin building native Android applications. Let’s begin!

What exactly is the Android Studio?

Integrated Development Environment (IDE) Android Studio is an environment for the development of native applications for Android. It is built on IntelliJ and was created in partnership with JetBrains with the goal of catering to Android developers exclusively.

Android Studio is fully free and is accessible for use on a variety of platforms, including Windows, Linux, Chrome OS, and macOS. It is also supported natively on the Apple M1 silicon chip, which is based on the ARM architecture.

Android Studio is not just an integrated development environment (IDE), but it also comes pre-packaged with all of the necessary software components for building Android applications on a computer running Linux.

Both Java and Kotlin are supported as programming languages for the development of Android apps using Android Studio.

Step 1: Getting Android Studio on Ubuntu/Linux

The official Android developer page offers a download for Android Studio, which you may get there.

When you click the Download button, the installer will be saved to the directory that is set as the default for downloads on your computer, which is most likely the Downloads folder.

Download: Android Studio (Free)

Step 2: Pre-Installation Configuration

Assuming you’ve downloaded Android Studio to the Downloads directory, use the cd command to browse to the location where you downloaded it.

cd ~/Downloads

The Android Studio TAR file should then be extracted using the tar command in the following manner:

tar -xzvf android-studio-*.tar.gz

When you are in the folder that was extracted, navigate to the /opt directory and transfer the android-studio directory there.

sudo mv android-studio /opt/

NOTE
In order to execute this command, you will either need to use sudo or have elevated rights.

If you put android-studio under the /opt directory on your Linux system, then it will be accessible to all of the system’s users.

Installing the Required Dependencies

If you are using a 64-bit version of Linux, you will need to install the software requirements that are listed below for Android Studio.

Install the following for Linux distributions that are based on Debian, such as Ubuntu, Pop! OS, and so on:

sudo apt-get install libc6 libncurses5 libstdc++6 lib32z1 libbz2-1.0

You are able to run the following on Fedora and other Linux distributions that are based on RHEL:

sudo yum install zlib ncurses-libs bzip2-libs

Step 3: Launching the Android Studio Installer

Head over to /opt/android-studio/bin folder:

cd /opt/android-studio/bin

Start the studio.sh script using the following command:

sudo ./studio.sh

After that, the computer will bring up an installation tutorial in the form of a setup wizard and walk you through the process. If you want to utilize the default selection, which means you are not importing any settings, you may do so by clicking the Ok button.

Installing Android Studio Installer

The page that displays usage data comes up next. It is up to you to decide whether or not to transmit Google use information. Simply make advantage of the option that is selected by default here. On the page that comes after this one, click the button labeled Next.

Launching Android Studio Installer

The installation wizard will walk you through each stage of the process from start to finish. During the course of the installation, you will be responsible for setting up a number of things, including the following:

  • Dark themes are commonly utilized in user interfaces by developers to alleviate eye strain caused by lengthy periods of time spent in front of computer screens.
  • The Android SDK licensing agreement conditions for Android Studio may be found here.

To complete the installation of Android Studio, click the button labeled Finish at the end of the process.

Step 4: Adding Android Studio to the List of Applications

You need to add Android Studio to your collection of Linux apps so that you may simply use the integrated development environment in the future. When you add Android Studio to your programs list, you will also find that it is much simpler to pin a shortcut to the application to either your favorites bar or your taskbar.

To make a desktop shortcut in Android Studio IDE, go to the Tools menu and then click the box labeled Create Desktop Entry.

You may now look for Android Studio in the menu of available programs, and run it directly from that location.

Developing Native Android Apps on Ubuntu

When it comes to designing your first Android app, one of the most important steps is configuring your Linux computer to work with Android Studio to create native applications for Android.

Android is not just used on smartphones and tablets, but also on wearables, automobiles, and other devices. Because of this, gaining knowledge on how to create apps for Android is an investment that is well worth making.

Alex
We will be happy to hear your thoughts

Leave a reply

TopBestProductReview
Logo