What is the error app publishing on the Google developer console?

I want to upload an app to the Google Developer Console, but when I upload the app, it gives the following error:

You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: 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

See the screenshot I uploaded here. How can I solve this problem?

2 answers

  • answered 2021-07-25 05:11 MARSK

    Make sure you are building the 'release' variant, after signing it with an upload key. Also, I would recommend you sign in for Google App Signing, which will certainly solve these issues and keep your signing key secure as well. The schema problems will be taken care of by Google itself then. There is an option in the console to opt-in to Play Signing

  • answered 2021-07-25 05:45 AIMIN PAN

    In the Generate Signed Bundle or APK dialog, after you select the jks key stroke path, you should see a page with 2 options

    1. Build Variants: debug or release

    2. Signature Versions: V1 (Jar Signature) and/or V2 (Full APK signature)

    You should make sure V2 is checked when build.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum