Installing
-
2. Downloading Android Command Line Tools
Download Android Command Line Tools for CentOS GNU/Linux
Save the File.
-
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