docs: update some documentation according to latest learnings
This commit is contained in:
@@ -43,22 +43,42 @@ dependencies {
|
||||
|
||||
### Build Commands
|
||||
|
||||
Note that these require Java > 22.12
|
||||
|
||||
This set is for the most basic Android app:
|
||||
|
||||
```bash
|
||||
cd test-apps/android-test-app
|
||||
cd android-test-app
|
||||
|
||||
# Build debug APK (builds plugin automatically)
|
||||
./gradlew assembleDebug
|
||||
|
||||
# Get the full list of available AVDs
|
||||
avdmanager list avd
|
||||
|
||||
# Run one
|
||||
emulator -avd AVD_NAME
|
||||
|
||||
# Check that one is running
|
||||
adb devices
|
||||
|
||||
# Now install on the emulator
|
||||
adb install -r ./app/build/outputs/apk/debug/app-debug.apk
|
||||
|
||||
# Now start the app
|
||||
adb shell am start -n com.timesafari.dailynotification/.MainActivity
|
||||
|
||||
# Build release APK
|
||||
./gradlew assembleRelease
|
||||
|
||||
# Clean build
|
||||
./gradlew clean
|
||||
|
||||
# List tasks
|
||||
./gradlew tasks
|
||||
```
|
||||
|
||||
|
||||
This set is for the Vue app (closer to Time Safari):
|
||||
|
||||
- `cd daily-notification-test`
|
||||
|
||||
- install on Vue app, build
|
||||
|
||||
### Prerequisites
|
||||
|
||||
- ✅ Gradle wrapper present (`gradlew`, `gradlew.bat`, `gradle/wrapper/`)
|
||||
|
||||
Reference in New Issue
Block a user