Create ionic 3 app with Target SDK version 30 getting error in google play console


I am create my app in ionic v3 with Target SDK version 30 when i am upload my apk on google play console i am getting 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”

When i am making apk with Target SDK version 29 and upload on google play console its upload without any error

i don’t no whay google give me an error

create sign in apk proccess are same in Target SDK version 30 or Target SDK version 29 same keystore and all command are same for create sign apk

My command are ionic cordova build –release android

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore myappname.keystore app-release-unsigned.apk myapp

zipalign -v 4 app-release-unsigned.apk myappname.apk

Please Check what is wrong on about command and let me know it’s argent my client are waiting a Target SDK version 30



i am use this solution for ionic app only using cmd

After zipalign command success apply this command for conver sign apk with signature scheme v2

apksigner sign –v2-signing-enabled false –ks keystore name.keystore signapkname.apk

apksigner sign –ks keystore name.keystore signapkname.apk

apksigner sign –ks keystore name.keystore –ks-key-alias aliasname signapkname.apk

keytool -printcert -jarfile signapkname.apk

apksigner verify -v –print-certs signapkname.apk

apksigner verify -v signapkname.apk

Answered By – Bhagirath Gadhesariya

Leave a Comment