The Wayback Machine - https://web.archive.org/web/20240624054154/https://www.geeksforgeeks.org/how-to-install-android-sdk-build-tools-on-ubuntu/
Open In App

How To Install android-sdk-build-tools on Ubuntu

Last Updated : 02 Jun, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

The Android SDK has a number of tools that will assist you in developing mobile applications for the Android platform. The tools are divided into three categories: SDK Tools, Platform Tools, and Build Tools. Build-tools is an Android SDK component necessary for developing Android application code. This package includes the Android SDK Build tool. Android SDK Platform tools are used to include Android SDK Build-tools. They have been isolated from the Android SDK Platform tools, allowing the build tools to be updated independently of the IDE components. The Android SDK Build Tools are precisely what their name implies: tools for developing Android applications. It is vital to use the most recent build tools version although older versions are kept for backward compatibility in case your projects rely on prior versions of the Build Tools.

On Ubuntu 20.04, there are three options for installing android-build-tools. Apt-get, apt, and aptitude are all available. Each strategy of installation will be described in detail in the following sections. You may select any of them.

  • Using apt-get to install  
  • Using aptitude to install  
  • Using apt to install  

Method 1: Using the apt-get command

Using the following command, update the apt database using apt-get.

sudo apt-get update

 

After upgrading the apt database, we can use apt-get to install android-build-tools by performing the following command:

sudo apt-get -y install android-sdk-build-tools

111zon8-copy

Method 2: Using apt-get

The apt database will be updated using the following command.

sudo apt update

After upgrading the apt database, we can use apt to install android-build-tools by performing the following command:

sudo apt -y install android-sdk-build-tools

Method 3: Using aptitude

If you want to use this method, you may need to install aptitude first because it is not normally installed by default on Ubuntu. Use the following command to update the apt database with aptitude.

sudo aptitude update

After upgrading the apt database, we can use aptitude to install android-build-tools by performing the following command:

sudo aptitude -y install android-sdk-build-tools


Similar Reads

How To Install android-tools-fastboot on Ubuntu
ADB and Fastboot are utilities that allow you to gain access to the Android system while your phone is linked to a desktop computer via USB. The computer and cable are required—there is no app version, and while ADB can be used wirelessly, it is significantly more difficult to set up. When Android is running, you generally utilize ADB. It allows yo
3 min read
How To Install android-tools-adb on Ubuntu
The Android Debug Bridge (abbreviated as ADB) is a programming tool for debugging Android-based devices. The daemon on the Android device communicates with the server on the host PC through USB or TCP, which communicates with the end-client users via TCP. Google has been making open-source software under the Apache License available since 2007. Fea
2 min read
How to Install Dart SDK in Intellij?
Dart is an open-source, client-side programming language used to build web and mobile apps. It is developed by Google. It is an object-oriented programming language. Or we can say that it is a class-based and garbage-collected language with C-style syntax. It is used to create applications for different platforms like mobile, desktop, server, and w
3 min read
How to Install alsa-tools on Ubuntu?
A set of console-based utilities for specific sound gear: ALSA Tools is a set of console-based utilities for specific sound devices. It organizes sound hardware tasks and provides services for them. as10k1 - An assembler for the DSP chip EMU10K1 (EMU10K2). Send HD audio commands to Intel HDA devices with hda-verb. sbiload - OPL2/3 FM instrument loa
2 min read
Netnoob - Network tools, information gathering tools and scanning tools
Netnoob is an automated tool that is developed for Network Recon, Scanning, and Network Auditing. Netnoob tool has the features to Get information about your computer and network, Get information about another computer or a network, Network Settings, and Shared Drives. This tool allows us to change the IP address and MAC Address of our system and a
2 min read
How to Install Android Studio on Ubuntu?
Android Studio is a full-featured cross-platform IDE that helps us to build applications for Android devices. Android Studio is based on JetBrains' IntelliJ IDEA. This IDE includes everything we need for Android development. Android Studio build system is powered by Gradle allowing you to make multiple build variants for various devices from one pr
5 min read
How to install Mailspring on Ubuntu
MailSpring application is an Email Client that provides various high-rich features like email templates, mail merge, custom signatures, and advanced search options. MailSpring application supports various email providers and email services like Gmail, Yahoo, and Microsoft Exchange. In this article, we will be installing the MailSpring application o
4 min read
How To Install Bitcoin Core wallet on Ubuntu
The Bitcoin Core application is an important application to improve the ease of transactions using Bitcoin. In this article, we went through the Installation steps of the Application by using 2 different methods. Along with the installation, we went through the uninstallation steps, which are as important as the installation. What is Bitcoin Core B
4 min read
How to Install Ubuntu on Windows using VMware?
VMWare, a short form of "VirtualMachine Ware". A cloud computing company that develops virtualization software, management, and networking interfaces or tools. It provides hypervisor tools or products that help in running virtual machines, clusters, and containers. By using this software we can virtualize the computer with required computing resour
2 min read
How to install the NFS server on Ubuntu?
NFS, which stands for Network File System, was created in 1984 by Sun Microsystems. A file system called Network File System (NFS) enables local access to distant files from various places across a network.NFS has a typical client/server architecture for this access, facilitating sharing between Linux workstations of any distribution. We will demon
4 min read