Step-by-step – Android Command Line Tools Installation in Ubuntu 20.04

June 23, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading Android Command Line Tools

    Download Android Command Line Tools for Ubuntu GNU/Linux

    Get Android Command Line Tools .zip for Ubuntu

    Save the File.

  2. 3. Installing Android Command Line Tools

    Now to Install Android Command Line Tools on Ubuntu
    First, make the Target Directory with:

    mkdir -p ~/Android/Sdk

    And then Extract the Archive directly into the Target with:

    unzip -d ~/Android/Sdk ~/Downloads/commandlinetools-linux*.zip

    Now amend the User PATH:

    echo "export PATH=~/Android/Sdk/cmdline-tools/bin:$PATH" >> ~/.bashrc

    Again if not already done Set the “ANDROID_HOME” Variable like:

    echo "export ANDROID_HOME=~/Android/Sdk" >> ~/.bashrc

    Last, Reload the Bash Environment with:

    bash

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

QuickChic Theme • Powered by WordPress