This guide shows how to build the Android app and install it on a physical Android phone.
Install these tools once:
- Android Studio (latest stable).
- Android SDK Platform 35.
- Android SDK Build-Tools 35.x.
- Android SDK Platform-Tools (
adb). - JDK 17 (Android Studio usually installs a compatible JDK automatically).
Verify from terminal:
java -version
adb versionFrom repo root:
./android/build-debug.shAPK output:
android/app/build/outputs/apk/debug/app-debug.apk
Choose one method.
- On phone, open
Settings -> About phone. - Tap
Build number7 times to enable Developer Options. - Open
Settings -> Developer options. - Enable
USB debugging. - Connect phone to PC by USB.
- Confirm the "Allow USB debugging" prompt on the phone.
- Run:
./android/build-debug.sh --installIf already built:
adb install -r android/app/build/outputs/apk/debug/app-debug.apk- Build APK (
./android/build-debug.sh). - Copy
app-debug.apkto phone (USB file transfer, cloud drive, or messaging app). - On phone, open the APK file.
- Android will ask to allow installs from that source (Files app / browser / messenger).
- Enable
Allow from this source, then install.
Note: This "Unknown apps" permission is per app/source on modern Android.
On first app start, allow runtime permissions when prompted:
- Notifications (for sync/conflict notifications).
- Location (needed on Android 10+ to read Wi-Fi SSID for home-network detection).
If denied, features like SSID-based home detection and notifications will not work correctly.
http://10.0.2.2:8080/ only works in the Android emulator, not on a real phone.
For a phone:
- Start backend on your local network (example from repo root):
docker compose up -d- Find your computer's LAN IP (example:
192.168.1.50). - In app settings, set API URI to:
http://192.168.1.50:8080/
- Set your home SSID in app settings.
- You can use the button
Use current network as home network.
adb: command not found
- Install Android SDK Platform-Tools and add it to
PATH.
INSTALL_FAILED_VERSION_DOWNGRADE
- Uninstall old app first:
adb uninstall com.helios.lumiriseApp opens but sync is disabled
- Check phone is on home Wi-Fi.
- Ensure location permission is granted and location services are enabled.
- Verify API URI uses your LAN IP and backend is running.