question

adamhirk avatar image
adamhirk asked Raymond Lee Deactivated answered

How do I fix this error of APK signature scheme? I don't understand why v2 signatures aren't being supported.

Please help...
Developer Pay API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justina avatar image
justina Deactivated answered justina Deactivated commented
Hello @Adamhirk,

Clover does not support Android applications signed with a V2 (Full APK Signature) scheme. When signing your app, make sure your APK is signed with the V1 (Jar Signature) Signature Version only.

Here is a link to our documentation on putting together a Clover Android app. https://docs.clover.com/build/android-apps/

Please let me know if anything is unclear or if you have any more questions!

Thanks,
Justin
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

justina avatar image justina commented ·

Also something to note (thanks @Raymond Lee):

If you happen to be using an Android Studio / Gradle Version 2.2, your application will automatically be signed with both the v2 and v1 schemes. This may be why you are running into this issue.

https://developer.android.com/about/versions/nougat/android-7.0.html#apk_signature_v2

Updating to version 2.3+ will give you the option to choose your signature version:

https://stackoverflow.com/questions/43525209/android-studio-can-not-choose-signature-version

- Justin

0 Likes 0 ·
Raymond Lee avatar image
Raymond Lee Deactivated answered
Hi @Adamhirk,

To also answer your question on why v2 signatures aren't being supported:

Apks that are submitted to Clover will be triple signed, and apk's that have been signed with the v2 signature scheme will conflict with this triple signing process. This renders the apk unable to be installed on Clover devices, so we disallow apks signed with v2 signatures.
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community