- OS
- Linux, macOS, or Windows.
- Java
- JDK 21 installed and available in PATH.
- Verify:
- java -version
- Android toolchain
- Android Studio (recommended) or Android SDK command-line tools.
- Android SDK platform for API 35.
- Build-tools and platform-tools installed.
- adb available in PATH.
- Verify:
- adb version
- Device or emulator
- Connect a physical Android device with USB debugging enabled, or start an emulator.
- Verify:
- adb devices -l
From the repository root:
- Make wrapper executable (Linux/macOS)
- chmod +x ./gradlew
- Verify Gradle wrapper
- ./gradlew --version
- Build all modules
- ./gradlew build
- Build debug APK (MVP app)
- ./gradlew :app:assembleDebug
- APK output
- app/build/outputs/apk/debug/app-debug.apk
- Install APK
- adb install -r app/build/outputs/apk/debug/app-debug.apk
- Launch app
- adb shell am start -n com.jarvis.app/.MainActivity
- ./gradlew clean :app:assembleDebug
- No device detected
- Run adb devices -l
- Reconnect cable or restart emulator.
- Accept USB debugging prompt on device.
- Java/toolchain mismatch
- Ensure JDK 21 is active.
- Check java -version output.
- Build cache issues
- Run ./gradlew clean
- Retry with --stacktrace for details.
- Permission-related runtime issues
- Grant microphone permission when prompted.
- Reopen app after granting permissions.