android build instructions
There are currently no instructions on how to build the APK for android.
Furthermore, even if one takes reasonable guessing as what the commands might be (like the ones listed below), it doesn't work on modern systems. Gradle is old and not compatible with versions of Java that ship on modern distro, some of the things the gradle build file are depricated and support for them has even been dropped in Gradle 7 (and the current version of Gradle as of time of writing is 8). There are hard-coded paths from the original author that don't exist on anyone else's computer (e.g. /mnt/hd
). It's kinda a mess.
This is would marked Low priority because:
- There is an APK from the previous maintainer
- Keepass DX is currently a better option as it has keyboard support so passwords never hit the clipboard
- Development efforts are already spread thin
...however, the old APK from NthDimension will not install on new phones. Losing the Android app seems like a step backwards. Even if the app is inferior to Keepass DX, it still allows getting to passwords on the Signet.
If there are any Android app developers out there who want to help, this would be a great ticket to pick up as an intro to this project.
Commands one might use to attempt to build the APK:
apt install -y sdkmanager
sdkmanager --install 'build-tools;27.0.0'
sdkmanager --install 'platform-tools;24.0.0'
sdkmanager --install 'tools;24.0.1'
sdkmanager --install 'ndk-bundle;24.0.8215888'
sdkmanager --install 'cmdline-tools;latest'
sdkmanager --install 'platforms;android-24'
sdkmanager --install 'build-tools;30.0.2'
sdkmanager --install 'build-tools;30.0.3'
sdkmanager --install 'extras;android;m2repository;24'
sdkmanager --install 'extras;android;m2repository;27'
cd client/android/package
./gradlew
./gradlew build