1
0

follow-up prev: fix typo

This commit is contained in:
SomberNight
2025-07-04 13:08:31 +00:00
parent cd5e6559b6
commit 7e98d2fe92

View File

@@ -39,7 +39,7 @@ TARGET_ARCH="$1"
if [[ "$TARGET_ARCH" != "armeabi-v7a" \
&& "$TARGET_ARCH" != "arm64-v8a" \
&& "$TARGET_ARCH" != "x86_64" ]]; then
fail "build_barcode_scanner.sh invalid target architecture argument: $TARGET_ARCH"
fail "make_barcode_scanner.sh invalid target architecture argument: $TARGET_ARCH"
fi
info "Building BarcodeScannerView and deps for architecture: $TARGET_ARCH"
@@ -68,7 +68,7 @@ else
cd "$ZXING_CPP_DIR/wrappers/aar"
chmod +x gradlew
# Set local.properties to use SDK of docker container
# Set local.properties to use SDK of docker container
echo "sdk.dir=${ANDROID_SDK_HOME}" > local.properties
# gradlew will install a specific NDK version required by zxing-cpp
./gradlew :zxingcpp:assembleRelease -Pandroid.injected.build.abi="$TARGET_ARCH"