In my case, it occurred only due to the wrong .jks file selection. After making sure the accurate key was selected, the issue disappeared, and the build was successful.