-
-
-
- mkdir -p ~/.android
-
-
- echo "Downloading Android SDK"
- curl --location https://dl.google.com/android/android-sdk_r24.4.1-macosx.zip | tar -x -z -C $HOME
-
-
- echo "Copying Android licenses"
- scriptdir=`dirname $0`
- mkdir -p "${ANDROID_HOME}"/licenses
- cp "${scriptdir}"/android-sdk-licenses/* "${ANDROID_HOME}"/licenses
|