Skip to main content
Inspiring
August 1, 2020
Question

apksigner error when upload playconsole

  • August 1, 2020
  • 4 replies
  • 3539 views

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 has been closed for replies.

    4 replies

    xanAuthor
    Inspiring
    August 2, 2020

    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.

     

     

     

    Participating Frequently
    January 25, 2021

    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 🙂

     

    xanAuthor
    Inspiring
    August 1, 2020

    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.

     

    xanAuthor
    Inspiring
    August 1, 2020

    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.

     

     

    xanAuthor
    Inspiring
    August 1, 2020

    I now focus on keytool and apksigner command...

    I hope this approach will be the solution...