I am trying to create a new Keystore to generate a signed apk but I am getting an error like this, please help me to get rid of this error.
Signature of a keystore Note that if you are using Play App Signing, your upload key may differ from the key used by Google Play to sign your app. In this case, you can find the app signature from the Google Play Console on the Release > Setup > App Integrity page.
The default location is /Users/<username>/. android/debug. keystore.
This is a known issue with Android Studio 4.2. It runs on JDK11 which has this limitation.
Google's own documentation on app signing states that the key password "should be different from the password you chose for your keystore" so I'm guessing they intend to fix this at some point.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With