# when the script was last modified for latest compileSdkVersion, it was which is written down below
ANDROID_SDK_TOOLS:"7583922"
# Packages installation before running script
before_script:
-export GRADLE_USER_HOME=$(pwd)/.gradle
-apt-get --quiet update --yes
-apt-get --quiet install --yes wget tar unzip lib32stdc++6 lib32z1
# Setup path as ANDROID_HOME for moving/exporting the downloaded sdk into it
-export ANDROID_HOME="${PWD}/android-home"
# Create a new directory at specified location
-install -d $ANDROID_HOME
# Here we are installing androidSDK tools from official source,
# (the key thing here is the url from where you are downloading these sdk tool for command line, so please do note this url pattern there and here as well)
# after that unzipping those tools and
# then running a series of SDK manager commands to install necessary android SDK packages that'll allow the app to build