File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ SDK=4333796
22
22
API=25
23
23
mkdir sdk
24
24
curl --retry 10 https://dl.google.com/android/repository/sdk-tools-linux-${SDK} .zip -O
25
- unzip -d sdk sdk-tools-linux-${SDK} .zip
25
+ unzip -q - d sdk sdk-tools-linux-${SDK} .zip
26
26
27
27
case " $1 " in
28
28
arm | armv7)
@@ -57,7 +57,10 @@ echo '#Fri Nov 03 10:11:27 CET 2017 count=0' >> /root/.android/repositories.cfg
57
57
yes | ./sdk/tools/bin/sdkmanager --list --verbose
58
58
59
59
# --no_https avoids
60
- # javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
60
+ # javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
61
+ #
62
+ # | grep -v = || true removes the progress bar output from the sdkmanager
63
+ # which produces an insane amount of output.
61
64
yes | ./sdk/tools/bin/sdkmanager --licenses --no_https | grep -v = || true
62
65
yes | ./sdk/tools/bin/sdkmanager --no_https \
63
66
" emulator" \
You can’t perform that action at this time.
0 commit comments