
A good internet connection (needed for downloading system images etc).Java runtime environment (or JDK) at Oracle website (and download the correct version (32- or 64-bit) for your computer).There are just a couple of prerequisites to note: This tutorial is a just step by step for installing Android SDK (Software Development Kit) assuming the user is starting from scratch. If needed, also set ANDROID_HOME environment variable like: export ANDROID_HOME=/path/to/android-sdk If you check the android-sdk folder after running tools/bin/sdkmanager -update it will be like: +- android-sdk The sdkmanager accepts the following flag: -sdk_root=: Use the specified SDK root instead of the SDKīut if we omit this flag, it assumes parent directory of tools directory as the sdk root, here in our case android-sdk directory. To get the SDK packages we could run: tools/bin/sdkmanager -update This extracts content to a single directory named tools, like: +- android-sdk Sdk-tools-linux-*.zip only includes the command-line tools. Tools/bin/sdkmanager "platform-tools" "platforms android–27" "build-tools 27.0.3"

You can also use the sdkmanager to list and to install any specific packages needed.

When executing the above commands, make sure that you replace * with an appropriate version number which you could find in the download page.
