How to Install Android Studio on Manjaro 21 Linux

The Google-built Android Studio is a perfect match for developing apps on the vast mobile operating system.
It features an intuitive interface and plenty of tools to help you work more efficiently while being compatible with IntelliJ IDEA’s integration galaxy, which brings together everything needed in one place so there are never any lost connections or forgotten source files again!

The Android Studio development environment is intended to make app building faster and more reliable than ever before. If you’re looking for a stable IDE, look no further! Eclipse has been around since 2006, so it’s not only outdated with time but also considered as “Student-ProjectIDE” because of its inability to compete against studios in terms of features or quality (although they are both excellent).

In the following tutorial, you will learn how to install Android Studio on Manjaro 21 Linux with three methods available stable, beta, or the canary (nightly) version. The tutorial will use the command line terminal with yay AUR helper, ideally most users may be using some wrapper for Pacman, for new users, it is essential to install one to keep your packages up-to-date while you learn Arch/Manjaro.

Update Manjaro

Update your system to make sure all existing packages are up to date.

sudo pacman -Syu

Install yay Helper

To begin the installation, you must have GIT installed to import the yay repository to install/build. From your command terminal, use the following code to begin the installation.

sudo pacman -S --needed --noconfirm base-devel git

Now clone the yay archive using the following terminal command.

git clone https://aur.archlinux.org/yay-git.git

Next, move the archive to the /OPT/ directory. This is a good location for any other archive installs, keep everything located, and traditionally the location is a commonly used area for different applications.

sudo mv yay-git /opt/

Now navigate to the yay-git directory location.

cd /opt/yay-git

Build the package using the makepkg command.

makepkg -si

Install Android Studio

Now that you have installed the package management helper, you can install Android Studio. As explained at the start of the tutorial, there are three options: stable, beta, or unstable, but installing the default version is recommended for most users.

Remove --noconfirm to stop automatic installation and review changes.

Install Android Studio Stable

yay -S android-studio --noconfirm

Install Android Studio Beta

yay -S android-studio-beta --noconfirm

Install Android Studio Canary (Nightly)

yay -S android-studio-canary --noconfirm

Launch Android Studio

The IDE launched from your terminal, but most often, the easiest way is to open the IDE is using the path Taskbar > Internet > Android Studio (Version).

Example:

How to Install Android Studio on Manjaro 21 Linux

The first time you open Android Studio, you will encounter the Android Studio Setup Wizard that will guide you to accept EULA agreements, optional import settings, and some other quick setup tabs.

Once open, you will see a default landing page.

Example:

How to Install Android Studio on Manjaro 21 Linux

How to Update/Upgrade Android Studio

The best way to upgrade the IDE, depending on what versions you have installed, is using the following command that should all the requirements from standard to nightly using the command line terminal. Alternatively, the desktop should notify you of updates.

yay -Syu --devel --timeupdate

How to Remove (Uninstall) Android Studio

When you no longer want to remove Android Studio from your system or a particular version, you can remove the IDE using one of the commands below that suit your installed version.

Remove --noconfirm to stop automatic removal and review changes.

Remove Android Studio Stable

yay -Rns android-studio --noconfirm

Remove Android Studio Beta

yay -Rns android-studio-beta --noconfirm

Remove Android Studio (Nightly)

yay -Rns android-studio-canary --noconfirm

Optionally, you can run the following command to clean up any leftover unused dependencies, and this is highly recommended to run so your system does not become bloated.

yay -Yc

Comments and Conclusion

In the tutorial, you have learned how to quickly install yay AUR helper along with learning how to install, maintain, and if so, remove Android Studio IDE stable, beta, or canary with Manjaro 21 Linux.

Android Studio is a powerful and versatile development environment that can help you build high-quality apps for all Android devices. With its structured code modules, you can easily divide your project into smaller units of functionality that you can independently build, test, and debug.



Follow LinuxCapable.com!

Like to get automatic updates? Follow us on one of our social media accounts!