You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.6 KiB
1.6 KiB
How to sign our custom SDA F-Droid repo releases
This is how you sign SDA releases in this repo
Pre-steps
- Need "fdroidserver" application installed, which provides the "fdroid" CLI tool. It's in AUR on Arch but if you're using a different Linux, then check the [recommendations from FDroid](read FDroid doc on it](https://f-droid.org/en/docs/Installing_the_Server_and_Repo_Tools/).
- Need to have the repo all setup as in FDroid's doc here.
- Build an unsigned release APK at CLI or with Android Studio. Android Studio has a setting to make it build release apk instead of debug versions. Search on the web for that.
Signing Process
- Sign the apk as they do here
- Followed "Generate keystore" from above to get that going and then signed with:
~/Android/Sdk/build-tools/25.0.2/apksigner sign --ks release_signing_keystore.keystore SilentDragonAndroid-0.5.xx.apk
- Then we run
fdroid update --verbose
and that spits out our public repo key that gets put on our git.
Success!
- Then add the new apk to the repo directory.
- Refresh in the FDroid app and the new version will appear.