From bb7fdcfeb4afbd069430f710c6cc6fb90e682395 Mon Sep 17 00:00:00 2001 From: Armand <4831c0@proton.me> Date: Mon, 4 Aug 2025 12:35:48 +0200 Subject: [PATCH] linux: fix build_apk.sh --- tools/linux/build_apk.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/linux/build_apk.sh b/tools/linux/build_apk.sh index 9743ba5..006afc8 100755 --- a/tools/linux/build_apk.sh +++ b/tools/linux/build_apk.sh @@ -9,6 +9,7 @@ if [ "$1" = "main" ]; then sdk_path="$(cat $HOME/.flutter_path)" echo "Using flutter sdk from: $sdk_path" + mkdir -p build/app/tmp flutter build apk --release --tree-shake-icons \ --local-engine-src-path "$sdk_path/engine/src" \ --local-engine=android_release --local-engine-host=host_release \ @@ -26,7 +27,7 @@ if [ "$1" = "main" ]; then --local-engine=android_release_x64 --local-engine-host=host_release \ --split-per-abi \ --target-platform android-x64 - mv build/app/tmp/* build/app/outputs/flutter-apk + mv build/app/tmp/*.apk build/app/outputs/flutter-apk else echo "$HOME/.flutter_path not found!" exit 1