1

I get the informtion 'It is recommended to migrate to PKCS12 which is an industry standard format using "keytool -importkeystore -srckeystore -destkeystore -deststoretype pkcs12" ' when I try to 'Generate Signed Bundle / APK ...'

I get the error "Given final block not properly padded. Such issues can arise if a bad key is used during decryption." after I update my keystore to PKCS12 based the artical.

Now I hope to give up PKCS12, can I still use JKS keystore to publish app to Google Play when I use Android Studio 4.0?

HelloCW
  • 843
  • 22
  • 125
  • 310
  • Hope this helps: https://stackoverflow.com/a/59379375/2949966 IMO I still use the JKS format in my `build.gradle` instead of PKCS12 and I don't see any complaints when building with `assembleRelease` – ahasbini Jul 02 '20 at 21:22
  • Thanks! Does it mean I still need use JKS to sign my app in order to publish to Google Play? – HelloCW Jul 02 '20 at 23:55

1 Answers1

1

You can really (still) go both ways.

You can use JKS keystores

And you can utilize, or move to PKCS12 format.

Ron
  • 5,900
  • 2
  • 20
  • 30