I was building an update to my game and had this error. Previous build didn't have this problem. So my solution was the Keystore. I unchecked existing key which removed the link, tried to build and asked me of the keystore. Then went to tick use existing keystore, selected the key and entered the passwords. The build worked with no errors this time.