Step-by-step – Android Command Line Tools CentOS 8.x/Stream-8 Installation

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

Installing

  1. 2. Downloading Android Command Line Tools

    Download Android Command Line Tools for CentOS GNU/Linux

    Get Android Command Line Tools .zip for CentOS

    Save the File.

  2. 3. Installing Android Command Line Tools

    Now to Install Android Command Line Tools on CentOS
    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