C
C
CainReveur2020-09-29 13:49:29
Android
CainReveur, 2020-09-29 13:49:29

Why is the signature invalid when uploading an apk?

When trying to upload an apk file to the Google Play Console, it gives the following error: Error from the apksigner tool: ERROR: MIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET: Target SDK version 30 requires a minimum of signature scheme v2; the APK is not signed with this or a later signature scheme.
Actually, I already created the key, changed the key store. How to fix this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Developer, 2020-09-29
@samodum

When signing an apk, you need to check the box for v2 at the last step "Generate Signed apk".
generate_v1_v2_sign.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question