No Android Studio needed! Just test on your phone:
# 1. Build debug APK (no signing needed)
cd android
chmod +x gradlew
./gradlew assembleDebug
# 2. Find your APK
# Location: android/app/build/outputs/apk/debug/app-debug.apk
# 3. Transfer to your phone:
# - Email it to yourself
# - Upload to Google Drive
# - Use USB cableOn your phone:
- Settings → Security → Allow "Unknown Sources"
- Open the APK file
- Install and run!
# Run this once to create your keystore
keytool -genkey -v \
-keystore ~/graftrack.keystore \
-alias graftrack \
-keyalg RSA \
-keysize 2048 \
-validity 10000Answer the questions (name, organization, etc.) SAVE YOUR PASSWORD!
cd android
./gradlew bundleRelease \
-Pandroid.injected.signing.store.file=$HOME/graftrack.keystore \
-Pandroid.injected.signing.store.password=YOUR_PASSWORD \
-Pandroid.injected.signing.key.alias=graftrack \
-Pandroid.injected.signing.key.password=YOUR_PASSWORD- Go to play.google.com/console
- Pay $25 (one-time)
- Create app → Upload AAB
- File location:
android/app/build/outputs/bundle/release/app-release.aab
Java not found?
# Install Java 17
sudo apt install openjdk-17-jdk
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64Build too slow? First build downloads ~200MB of dependencies. Be patient!
Can't find APK?
find android -name "*.apk"Your debug APK is ready to test in minutes. No Android Studio needed!