#!/bin/bash # JUMPA.ID Android Builder # Builds signed AAB for Google Play Store echo "Starting Android Build Pipeline..." cd ../../../jumpa.id # Ensure dependencies are installed npm install # Initialize Android project if not done if [ ! -d "src-tauri/gen/android" ]; then echo "Initializing Android environment..." npm run tauri android init fi # Build Android App Bundle (Release) echo "Building Android AAB..." npm run tauri android build -- --target aarch64-linux-android --release echo "Android build completed." echo "Note: Before uploading to Google Play, ensure you have signed the AAB using jarsigner and your production keystore."