File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -48,16 +48,18 @@ case "$1" in
48
48
;;
49
49
esac ;
50
50
51
+ ANDROID_SDK_BIN=" /sdk/cmdline-tools/latest/bin
52
+
51
53
# --no_https avoids
52
54
# javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
53
- yes | ./sdk/cmdline-tools/bin/ sdkmanager --licenses --no_https
54
- yes | ./sdk/cmdline-tools/bin/ sdkmanager --no_https \
55
+ yes | " $ANDROID_SDK_BIN / sdkmanager" --licenses --no_https
56
+ yes | " $ANDROID_SDK_BIN / sdkmanager" --no_https \
55
57
" emulator" \
56
58
" platform-tools" \
57
59
" platforms; android-24" \
58
60
" system-images; android-24; default; $abi "
59
61
60
62
echo " no" |
61
- ./sdk/cmdline-tools/bin/ avdmanager create avd \
63
+ " $ANDROID_SDK_BIN / avdmanager" create avd \
62
64
--name " ${1} " \
63
65
--package " system-images; android-24; default; $abi "
You can’t perform that action at this time.
0 commit comments