I am really stuck on this issue while generating a signed apk in android studio v2020.3.1 patch 2:
I created a key store path as it was my first time, I added the path, alias, key store password and key password but after the creation when I used it, I got an error while generating the signed apk:
A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable com.android.ide.common.signing.KeytoolException: Failed to read key passvault from store "D:\Softwares\Key Paths\Apps.jks": Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
Any suggestions appreciated, because i have no idea what goes wrong.