Skip to main content
Inspiring
Aug 1, 2020 7:09 AM UTC
Question

apksigner error when upload playconsole

MacOS10.14.6
Animate2020
AIRSDK33.1.1.98(swf package)
ADT AIRSDK33.1.1.176
arch armv7

 

When I uploaded the apk to playConsole's closed test release, upload error occured.

 

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

 

 

Next I checked here

https://developer.android.com/studio/publish/app-signing

 

But this is for use androidstudio.

Now I have apk file.

Next how to sign it ? 

 

 

    This topic is closed to new replies. Start a new post to keep the conversation going.

    5 replies

    xanAuthor
    Inspiring
    Aug 2, 2020 7:29 AM UTC

    I can upload googleplay by changing targetSdk 30 to 29 for now.

    When I set targetSdk 30, I can not upload because V2 Scheme sign needed.

    To sign V2 Scheme,I need to use apksigner command.

    But it is error.

    When I create keystore,apksigner works.

    So the error reason may be my p12,and it is 1024...

     

    I wonder Using "Google Play App Signing" will be a solution of targetSdk 30.

     

    In any case,I want to know whether it is impossible to upload googleplay by signing manually by use keystore(p12 1024) or not.

     

     

     

    Translate
    Participating Frequently
    Jan 25, 2021 2:05 PM UTC

    Any updates on this issue ?

     

    I didnt upload an update to my android app in a long time,

    and now I am encountering this issuse.

     

    I get this message from the Play Consol

     

    Error from apksigner: ERROR: MIN_SIG_SCHEME_FOR_TARGET_SDK_NOT_MET: Target SDK version 33 requires a minimum of signature scheme v2.

     

    Appreciate any lead on this 🙂

     

    Translate
    xanAuthor
    Inspiring
    Aug 1, 2020 3:56 PM UTC

    I found past topics.

    But solved answer's link is dead.

    https://community.adobe.com/t5/animate/play-console-has-changed-app-signing/m-p/9195816?page=1

    Please advice me.

     

    Translate
    xanAuthor
    Inspiring
    Aug 1, 2020 3:00 PM UTC

    Anyone success apksigner V1,V2 by keystore(it is originally 1024 p12) ?

    Apksigner command result is below error.

     

    Failed to load signer "signer #1"
    java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.

     

     

    Now I think targetSdkVersion 30 is unable because V2 sign is impossible.

    And use jarsigner.

     

     

    Translate
    xanAuthor
    Inspiring
    Aug 1, 2020 7:52 AM UTC

    I now focus on keytool and apksigner command...

    I hope this approach will be the solution...

     

     

    Translate