How to install Android Studio in Ubuntu

Android Studio is the official tool or software to develop Android applications using IDE. It provides a set of tools to build, design, and analyze APK and menu more. Here are the steps to install Android Studio in Ubuntu OS. 

Step 1: Install Java Development Kit (JDK)

Android Studio requires (JDK) Java Development Kit  and 

Installing Android Studio first and after checking JDK 8. To install JDK first open the terminal window and update packages following the command.

sudo apt update

After updation, install JDK using the package manager:

sudo apt install openjdk-11-jdk

To verify that JDK has been installed successfully, run the following command:

java –version

Step 2: Install Android Studio

You can install Android Studio in two ways:

  1. Using snap
  2. Using a repository

Using Snap: 

Snap is a package management system developed by Canonical, and it allows you to easily install and update software on your system. 

Run the following command to install Android Studio using Snap. 

sudo snap install android-studio –classic

Using repository: 

The repository makes use of the PPA repository to proceed with the installation procedure. 

Here are the steps to follow:

Step 2.1: Import the Android Studio repository.

Using the following command you can open a terminal and import the android-studio repository. 

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



Step 2.2: Update the package list.

After adding the repository, update the package list again to include the new repository. 

sudo apt update



Step 2.3: Install Android Studio.

Now, you can install Android Studio using the apt package manager.

sudo apt install android-studio

 

Step 3: Launch Android Studio.

After installing Android Studio on your system, you can use the “Android Studio” and open Android Studio time, search Android Studio on the menu, and click on the Android Studio icon.

Step 4: Setup Android SDK

Android Studio will prompt you to first set up the Android SDK. 

You have already installed it in Android Studio then click on next and follow the steps. If you have not set up Android Studio then choose standard installation and next allow Android Studio to download and install it.


In conclusion, the following are the simple steps on how to get started with Android Studio, from installing the software on your Ubuntu system to creating your first Android application



365Bloggy May 2, 2024
Share this post
Tags
SUBSCRIBE THIS FORM


Archive