sign-android-release
sign-android-release copied to clipboard
JarSigner Private and Public Key Issue
Hello everyone,
Today, I was trying to use this action in your project. Whenever it starts generating the APK through It, then it gives me this error.
> Run r0adkll/sign-android-release@v1
> with:
> releaseDirectory: android/app/build/outputs/bundle/release
> signingKeyBase64: ***
> alias: ***
> keyStorePassword: ***
> keyPassword: ***
>
> Preparing to sign key @ android/app/build/outputs/bundle/release with signing key
>
> /usr/bin/jarsigner -keystore android/app/build/outputs/bundle/release/signingKey.jks -storepass *** -keypass *** android/app/build/outputs/bundle/release/app-release.aab ***
>
> jarsigner: Certificate chain not found for: ***. *** must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
>
> Error: The process '/usr/bin/jarsigner' failed with exit code 1
How can I sort out this problem.
i had similar issue, and I created a new jks with name that matches what is in the build env....so the new jks was named signingKey.jks
and that solved the issue for me
@kojofosu just encountered this error. Do you mean the keystore.jks should ideally be named same as your github secret?