Build failure keystore error.. please help

Hi Folks… I created a keystore following the appgyver directions, but I am getting this error. Any thoughts??

FAILED with ERROR:

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:app:packageReleaseBundle’.

java.util.concurrent.ExecutionException: java.lang.RuntimeException: jarsignerfailed with exit code 1 :
jarsigner: Certificate chain not found for: psi.keystore. psi.keystore must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.

Hi @keith_cotroneo,

  1. Does your keystore have a password?
  2. Did you put in the Keystore alias password in the build service as well (its the same as the Keystore password)? It solved a similar problem for another user here:

Thanks. I did get the build to go through. I think the problem was the alias. I had it set to the same name as the app name. When I changed it to another name, the build worked. At least, I think that was the issue.

1 Like