Repository navigation
Developer Setup
Bosaj edited this page Oct 24, 2026
·
2 revisions
- JDK 17 (Temurin works)
- Android SDK; Gradle installs SDK platform 36 on the first build
- Git 2.40+; Android Studio or any editor
git clone https://github.com/Bosaj/android-update-checker.git
cd android-update-checker
./gradlew testDebugUnitTest # unit tests
./gradlew lintDebug # Android Lint (fails on errors)
./gradlew assembleDebug # app/build/outputs/apk/debug/app-debug.apklocal.properties points to the SDK. On Windows, escape the drive colon: sdk.dir=C\:/Users/<you>/AppData/Local/Android/Sdk.
Gradle's Unix-domain sockets fail on long temp paths. Point the temp folder to a short path before building:
set TMP=C:\gtmp
set TEMP=C:\gtmp
set JAVA_TOOL_OPTIONS=-Djdk.net.unixdomain.tmpdir=C:\gtmp -Djava.io.tmpdir=C:\gtmpadb install -r app/build/outputs/apk/debug/app-debug.apkThe debug build installs as ma.bosaj.updateradar.debug, next to the release app.
Handy checks:
- Language:
adb shell cmd locale set-app-locales ma.bosaj.updateradar.debug --locales ar - Dark theme:
adb shell cmd uimode night yes - Stale apps on a fresh emulator: move the clock forward with
adb shell settings put global auto_time 0andadb shell cmd alarm set-time <epoch ms>, and setauto_time 1afterwards. - Reminder job: it has an initial delay equal to the interval, so
adb shell cmd jobscheduler run -f <package> <job id>does nothing until the clock is past that delay.
Create a keystore outside the repository and a git-ignored keystore.properties (see the README), then:
./gradlew assembleRelease bundleReleaseSee Play Store release for the publishing steps.
Read CONTRIBUTING.md: Conventional Commits, Semantic Versioning, all 8 languages for every new string.
Update Radar · رادار التحديثات — MIT License · maintained by @Bosaj (Oussama EL HADJI)