Try to fix builds of the Android SDK

This commit is contained in:
gnzlbg 2019-05-15 19:55:16 +02:00
parent e7f62bc76a
commit 3ac111c8d0
1 changed files with 3 additions and 0 deletions

View File

@ -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