sign-android-release
sign-android-release copied to clipboard
jarsigner error: java.lang.RuntimeException: keystore load: null
Here is the error I am getting:
Run r0adkll/sign-android-release@v1 Preparing to sign key @ /home/runner/work/myapp/mobile/build/outputs/bundle/release with signing key Found 1 release files. /opt/hostedtoolcache/Java_Zulu_jdk/8.0.322-6/x64/bin/jarsigner -keystore /home/runner/work/myapp/mobile/build/outputs/bundle/release/signingKey.jks -storepass *** -keypass *** /home/runner/work/myapp/mobile/build/outputs/bundle/release/mobile-release.aab *** jarsigner error: java.lang.RuntimeException: keystore load: null Error: The process '/opt/hostedtoolcache/Java_Zulu_jdk/8.0.322-6/x64/bin/jarsigner' failed with exit code 1
on my step:
- name: Sign Mobile Android release
uses: r0adkll/sign-android-release@v1
with:
releaseDirectory: /home/runner/work/myapp/mobile/build/outputs/bundle/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
I'm getting this error too, upgrading my Java version / build tools didn't help.
I am getting the same error
Still haven't found a fix unfortunately.
You sure secrets are really valid, especially secrets.SIGNING_KEY?
Pretty sure so. Nonetheless, I stopped using this in favor of just signing the output as part of the gradle build, which involves doing something like this: https://github.com/banool/aclip/blob/main/.github/workflows/full_ci.yml#L139-L140.