Update before-install.sh

This commit is contained in:
deal 2021-12-30 20:09:25 +08:00 committed by GitHub
parent a2ff94facd
commit afe3865921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -26,9 +26,9 @@ function install_android_sdk()
# full cmd: echo yes|cmdline-tools/bin/sdkmanager --verbose --sdk_root=sdk platform-tools "cmdline-tools;latest" "platforms;android-28" "build-tools;29.0.2" "ndk;19.2.5345600" # full cmd: echo yes|cmdline-tools/bin/sdkmanager --verbose --sdk_root=sdk platform-tools "cmdline-tools;latest" "platforms;android-28" "build-tools;29.0.2" "ndk;19.2.5345600"
if [ "$BUILD_TARGET" == "android" ]\ if [ "$BUILD_TARGET" == "android" ]\
|| [ "$BUILD_TARGET" == "android_lua" ] ; then || [ "$BUILD_TARGET" == "android_lua" ] ; then
python $ADXE_ROOT/tools/appveyor-scripts/setup_android.py python $ADXE_ROOT/tools/unix-ci/setup_android.py
else else
python $ADXE_ROOT/tools/appveyor-scripts/setup_android.py --ndk_only python $ADXE_ROOT/tools/unix-ci/setup_android.py --ndk_only
fi fi
} }