Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

apksigner error when upload playconsole

Explorer ,
Aug 01, 2020 Aug 01, 2020

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 ? 

 

 

3.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 01, 2020 Aug 01, 2020

I now focus on keytool and apksigner command...

I hope this approach will be the solution...

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 01, 2020 Aug 01, 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.

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 01, 2020 Aug 01, 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.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 02, 2020 Aug 02, 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.

 

 

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 25, 2021 Jan 25, 2021
LATEST

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
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines