Skip to content

Commit 58d224b

Browse files
Try the SDK update again
1 parent 8d8a3fe commit 58d224b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ci/android-install-sdk.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,18 @@ case "$1" in
4848
;;
4949
esac;
5050

51+
ANDROID_SDK_BIN="/sdk/cmdline-tools/latest/bin
52+
5153
# --no_https avoids
5254
# javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
53-
yes | ./sdk/cmdline-tools/bin/sdkmanager --licenses --no_https
54-
yes | ./sdk/cmdline-tools/bin/sdkmanager --no_https \
55+
yes | "$ANDROID_SDK_BIN/sdkmanager" --licenses --no_https
56+
yes | "$ANDROID_SDK_BIN/sdkmanager" --no_https \
5557
"emulator" \
5658
"platform-tools" \
5759
"platforms;android-24" \
5860
"system-images;android-24;default;$abi"
5961
6062
echo "no" |
61-
./sdk/cmdline-tools/bin/avdmanager create avd \
63+
"$ANDROID_SDK_BIN/avdmanager" create avd \
6264
--name "${1}" \
6365
--package "system-images;android-24;default;$abi"

0 commit comments

Comments
 (0)