Skip to content

Do not skip packages w/o v1 sig if minSDK points to Android 7 or higher

v2 signatures have been introduced with Android 7 – so technically v1 signature shouldn't be mandatory for apps requiring Android 7 or higher as minimum version. But, fdroidserver complains and doesn't accept such APKs:

ERROR: No signing certificates found in repo/pt.samp.scrumCards_2.5.apk
WARNING: Skipping 'pt.samp.scrumCards_2.5.apk' with invalid signature!
$ apksigner verify -v repo/pt.samp.scrumCards_2.5.apk
Verified using v1 scheme (JAR signing): false
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): false

Author ticked both v1 and v2 signatures in Android Studio, still there is no v1 signature present; it seems that Studio ignores the v1 request in such cases. Reference: https://github.com/sergiopatricio/Scrum-Cards/issues/10 (the app is in my repo).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information