what the solution of this error ( Target SDK version 30 requires a minimum of signature scheme v2 )

2k views Asked by At

what the solution of this error ( Target SDK version 30 requires a minimum of signature scheme v2 )

Error de apksigner: ERROR: MIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET: Target SDK version 30 requires a minimum of signature scheme v2; the enter image description hereAPK is not signed with this or a later signature scheme

2

There are 2 answers

1
Faisal Khan On

When you create a release app it gives you options to sign , just check the V2 signature box and proceed everything should be fine after that

0
Marth On

This simple solution worked for me: after you run your .\zipalign run this command:

apksigner sign --ks yourkeystore.keystore yourapk.apk

To verify the signing:

apksigner verify -v yourapk.apk

This allowed me to sign with v3 and now I can upload to store no problem.