Installing
-
2. Downloading Android Command Line Tools
Download Android Command Line Tools for Debian GNU/Linux
To find it Scroll down right to the Bottom of the Page.
And possibly on Browser Pop-up choose to Save it. -
3. Installing Android Command Line Tools
Now to Install Android Command Line Tools on Debian
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