
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.
