Skip to content

Commit 5a89f59

Browse files
committed
Try to fix builds of the Android SDK
1 parent 53e3aa3 commit 5a89f59

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/android-install-sdk.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ case "$1" in
4545
;;
4646
esac;
4747

48+
# See: https://stackoverflow.com/a/51644855/1422197
49+
export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'
50+
4851
# --no_https avoids
4952
# javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
5053
yes | ./sdk/tools/bin/sdkmanager --licenses --no_https

0 commit comments

Comments
 (0)