Hello,
I’m trying to use the api, and I’m not sure what to use as upload_file_size value for the following route:
/apps/{app-slug}/android-keystore-files
with the following body:
{
“alias”: “string”,
“password”: “string”,
“private_key_password”: “string”,
“upload_file_name”: “string”,
“upload_file_size”: 0
}
I’ve gave a random number for now and got a success from the API.
When I Go to the code signing section in the workflow editor I can see that there is a keystore created but it seem to be stuck in the upload phase.
and when I launch my build, it fail on the signing process:
Configs:
BuildArtifactPath: /bitrise/deploy/app-prod-release-unsigned.apk
KeystorePassword: [REDACTED]
KeystoreAlias: [REDACTED]
PrivateKeyPassword: [REDACTED]
JarsignerOptions:
OutputName:
VerboseLog: false
APKPath:
Download keystore
using keystore at: /tmp/bitrise-sign-build-artifact958150579/keystore.jks
Failed to create keystore helper, error: [keytool error: java.io.IOException: Invalid keystore format
java.io.IOException: Invalid keystore format
at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:666)
at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:57)
at sun.security.provider.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:224)
at sun.security.provider.JavaKeyStore$DualFormatJKS.engineLoad(JavaKeyStore.java:71)
at java.security.KeyStore.load(KeyStore.java:1445)
at sun.security.tools.keytool.Main.doCommands(Main.java:825)
at sun.security.tools.keytool.Main.run(Main.java:368)
at sun.security.tools.keytool.Main.main(Main.java:361)
What am I doing wrong?