I got V2 APK signature scheme is not supported, when I try to push a new apk, I signed it with the v1, however the sandbox says
I got V2 APK signature scheme is not supported, when I try to push a new apk, I signed it with the v1, however the sandbox says
Have you tried searching this community? There are several results for this type of error, here is one that may help - https://community.clover.com/questions/15983/v2-apk-signature-scheme-is-not-supported.html
FYI, the latest version of Android Studio is already remove the V1 option.
Yes, devs will need to use older Android Studio or command line tools:
https://developer.android.com/studio/command-line/apksigner
@David, Please share command line tools with complete steps because i tried multiple resource on internet to achieve it but still i'm facing challenges while generating apk from command line with V1 Signature. Below is top resource which i tried.
Whereas If i use older Android Studio then i will not have benefit of Android Studio updates/feature anymore in future.
So, i request you to share complete steps of generating signed apk from command line with V1 Signature.
- //use this signed config file in ur bulid gradle module i m using new verison android studio only for mr it is working fine
- signingConfigs{
- release{
- storeFile file(keystore_file)
- storePassword keystore_password
- keyAlias key_alias
- keyPassword key_password
- enableV1Signing true // Clover app APKs must use V1 signing (JAR signing)
- enableV2Signing false // prevents APKs from being signed with V2 scheme
- }
- }
7 People are following this question.