diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-05-15 19:55:16 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-05-16 09:15:12 +0200 |
commit | 3ac111c8d0f1ef467aa443b67ff4fd64376d80ec (patch) | |
tree | 8d1db803358ab55cc9f52aec7210f7745498bce8 /ci/android-install-sdk.sh | |
parent | e7f62bc76aae83ce42a3c5308d65d9583b61d308 (diff) | |
download | rust-libc-3ac111c8d0f1ef467aa443b67ff4fd64376d80ec.tar.gz |
Try to fix builds of the Android SDK
Diffstat (limited to 'ci/android-install-sdk.sh')
-rw-r--r-- | ci/android-install-sdk.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/android-install-sdk.sh b/ci/android-install-sdk.sh index 64cfbf1170..e011cfc34b 100644 --- a/ci/android-install-sdk.sh +++ b/ci/android-install-sdk.sh @@ -45,6 +45,9 @@ case "$1" in ;; esac; +# See: https://stackoverflow.com/a/51644855/1422197 +export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee' + # --no_https avoids # javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found yes | ./sdk/tools/bin/sdkmanager --licenses --no_https |