We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59a935c commit d4aa645Copy full SHA for d4aa645
ci/android-install-sdk.sh
@@ -47,6 +47,15 @@ case "$1" in
47
;;
48
esac;
49
50
+# Try to fix warning about missing file.
51
+# See https://askubuntu.com/a/1078784
52
+mkdir -p /root/.android/
53
+echo '### User Sources for Android SDK Manager' >> /root/.android/repositories.cfg
54
+echo '#Fri Nov 03 10:11:27 CET 2017 count=0' >> /root/.android/repositories.cfg
55
+
56
+# Print all available packages
57
+yes | ./sdk/tools/bin/sdkmanager --list --verbose
58
59
# --no_https avoids
60
# javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
61
yes | ./sdk/tools/bin/sdkmanager --licenses --no_https
0 commit comments