0

When I try to upload my apk to the google play store I get the following error.

Upload failed

You uploaded an APK with an invalid signature. Error from apksigner: ERROR (Jar signer CERT.RSA): JAR signature META-INF/CERT.RSA uses digest algorithm SHA-256 and signature algorithm RSA which is not supported on API Level(s) 16-17 for which this APK is being verified

Does anybody know how I can change the signature algorithm, or how to solve this error?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
buellas
  • 321
  • 4
  • 21

1 Answers1

0

While generating signed apk check option v1 (jar signature) and uncheck option v2 since v2 is for newer ones!

if it doesn't work then: Do clean , rebuild project and create new .jks key and do the same!

For reference: difference between signature versions - V1(Jar Signature) and V2(Full APK Signature) while generating signed apk in AndroidStudio?

Sara Tirmizi
  • 417
  • 4
  • 10