Does any one have ideas on why gradle could produc...
# android
d
Does any one have ideas on why gradle could produce an unsigned apk? I do properly setup signing configs, I checked and rechecked. I even diffed my
build.gradle
with another project which has exaclty same signing configs and produces a signed apk, but this one isn't.
Copy code
$ jarsigner -verify /path/to/apk

jar is unsigned
stackoverflow 2
OK. Just found that downgrading minsdkversion to 23 (was 25) makes jar signed again
j
this is not related to Kotlin so you should ask on StackOverflow
you should be using apksigner to validate an apk, not jarsigner
d
OK, sorry.
I would, but it seems crashlytics uses jarsigner, because it rejects my apk
j
you should reach out to their support and tell them that they're doing it wrong
d
This is the plan, now that I just found out what causes this 🙂
j
There's more details at https://source.android.com/security/apksigning. v1 is only needed for old API levels and is not done by default for higher ones
d
I tried to enable it explicitly, but it still failed to upload for some reason, maybe I've messed up something