Skip to content

Commit 8c2e52e

Browse files
Update Android SDK
1 parent 843c692 commit 8c2e52e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ci/android-install-sdk.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ set -ex
1818
# located in https://github.com/appunite/docker by just wrapping it in a script
1919
# which apparently magically accepts the licenses.
2020

21+
ANDROID_SDK_URL=https://dl.google.com/android/repository
22+
ANDROID_SDK_ARCHIVE=platform-tools_r29.0.5-linux.zip
23+
2124
mkdir sdk
22-
curl --retry 5 https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip -O
23-
unzip -d sdk sdk-tools-linux-3859397.zip
25+
curl --retry 5 "$ANDROID_SDK_URL/$ANDROID_SDK_ARCHIVE" -O
26+
unzip -d sdk "$ANDROID_SDK_ARCHIVE"
2427

2528
case "$1" in
2629
arm | armv7)

0 commit comments

Comments
 (0)