Documentation
¶
Overview ¶
Command androidscroll builds axx's scroll service for Android devices (mobile-android), the APK a release publishes beside its archives, in its checksums (release.yml's android-scroll job), and that release's axx downloads.
go run ./internal/tools/androidscroll -out axx_0.7.0_android-scroll.apk -version 0.7.0 -keystore release.jks -alias axx
It needs the Android SDK (ANDROID_HOME: its build-tools and a platform) and a JDK. The keystore's password is read from ANDROID_SCROLL_KEYSTORE_PASSWORD, never from the command line. With no keystore, it signs with a key it makes for this build: for a dry run, and for a release cut before NimbusXR's key was a secret of the repository. Android asks that an app's updates have the key of the one installed, and axx installs the service afresh where the keys differ, so such a release works; it says so, loudly.