[ubuntu] replace wget to download_with_retries helper (#3087)

This commit is contained in:
Aleksandr Chebotov
2021-04-02 18:47:50 +03:00
committed by GitHub
parent 0917a07677
commit be27ebfdb3
11 changed files with 32 additions and 18 deletions

View File

@@ -51,7 +51,7 @@ mkdir -p ${ANDROID_SDK_ROOT}
# Download the latest command line tools so that we can accept all of the licenses.
# See https://developer.android.com/studio/#command-tools
wget -O android-sdk.zip https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip
download_with_retries https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip "." android-sdk.zip
unzip -qq android-sdk.zip -d ${ANDROID_SDK_ROOT}
rm -f android-sdk.zip