dashboard
repositories
activity
search
login
APPS
/
PAILot
summary
reflog
commits
tree
compare
forks
blame
|
history
|
raw
|
HEAD
fix(audio): don't treat AppLifecycleState.inactive as backgrounded
Matthias Nott
2026-06-11
d9227bf2860a6f23ab89d8e7e0d7a9bf448d0adf
[APPS/PAILot.git]
/
tools
/
build-android.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
# PAILot Android Build Script
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
APP_DIR="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$APP_DIR"
echo "=== Building APK ==="
JAVA_HOME=/opt/homebrew/Cellar/openjdk@17/17.0.18/libexec/openjdk.jdk/Contents/Home \
flutter build apk --release --no-tree-shake-icons
echo ""
echo "=== Done ==="
echo "APK: build/app/outputs/flutter-apk/app-release.apk"
echo "Run ./tools/deploy-android.sh to install on device"