mirror of
https://github.com/lone-cloud/prism
synced 2026-06-03 08:43:10 -07:00
| .. | ||
| .kotlin/errors | ||
| app | ||
| gradle/wrapper | ||
| build.gradle.kts | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| README.md | ||
| RELEASE.md | ||
| settings.gradle.kts | ||
SUP Android App
UnifiedPush distributor that routes notifications through Signal.
Setup for Development in VS Code
Prerequisites
- Install Android SDK (via Android Studio or command line tools)
- Install Java 17+:
sudo pacman -S jdk17-openjdk - Set environment variables in
~/.zshrc:export ANDROID_HOME=$HOME/Android/Sdk export PATH=$PATH:$ANDROID_HOME/platform-tools:$ANDROID_HOME/cmdline-tools/latest/bin
Generate Gradle Wrapper (First Time)
cd android
# Download gradle temporarily
wget https://services.gradle.org/distributions/gradle-8.2-bin.zip
unzip gradle-8.2-bin.zip
./gradle-8.2/bin/gradle wrapper --gradle-version 8.2
rm -rf gradle-8.2 gradle-8.2-bin.zip
# Make wrapper executable
chmod +x gradlew
Build in VS Code
Use Ctrl+Shift+B or run tasks from Command Palette:
Android: Build Debug APKAndroid: Install Debug APKAndroid: View Logs (Logcat)
Manual Commands
cd android
./gradlew assembleDebug # Build
./gradlew installDebug # Install
adb logcat -s SUP:* # View logs
cd android
# Use Android Studio or command line to create new Android project