Execution failed for task ':app:packageRelease'.
A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable com.android.ide.common.signing.KeytoolException: Failed to read key .... from store "----------": Keystore was tampered with, or password was incorrect
It failed with saved password but it build correctly when i manually type password and next time it fails again
Remember passwords checkbox is checked in Build Signed Bundle or APK Window
It is a bug in Android Studio 4.2
You Have to Manually Type Password Each time you Generate Signed APK
Update
This bug is also in Android Studio 4.2.1 and Android Studio 4.2.2
Update
This Bug Is Fixed in Android Studio Arctic Fox 2020.3.1
Hence Upgrading to Android Studio Arctic Fox 2020.3.1 Solves the Problem