Skip to content

Commit 8d8a3fe

Browse files
Try to use more recent cmdline-tools
1 parent 8c2e52e commit 8d8a3fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ci/android-install-sdk.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ set -ex
1919
# which apparently magically accepts the licenses.
2020

2121
ANDROID_SDK_URL=https://dl.google.com/android/repository
22-
ANDROID_SDK_ARCHIVE=platform-tools_r29.0.5-linux.zip
22+
ANDROID_SDK_ARCHIVE=platform-tools_r34.0.3-linux.zip
2323

2424
mkdir sdk
2525
curl --retry 5 "$ANDROID_SDK_URL/$ANDROID_SDK_ARCHIVE" -O
@@ -50,14 +50,14 @@ esac;
5050

5151
# --no_https avoids
5252
# javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
53-
yes | ./sdk/tools/bin/sdkmanager --licenses --no_https
54-
yes | ./sdk/tools/bin/sdkmanager --no_https \
53+
yes | ./sdk/cmdline-tools/bin/sdkmanager --licenses --no_https
54+
yes | ./sdk/cmdline-tools/bin/sdkmanager --no_https \
5555
"emulator" \
5656
"platform-tools" \
5757
"platforms;android-24" \
5858
"system-images;android-24;default;$abi"
5959

6060
echo "no" |
61-
./sdk/tools/bin/avdmanager create avd \
61+
./sdk/cmdline-tools/bin/avdmanager create avd \
6262
--name "${1}" \
6363
--package "system-images;android-24;default;$abi"

0 commit comments

Comments
 (0)