Repository navigation
What does each «Decode keystore» error in the APK workflow mean? #578
|
After I added the signing secrets, my APK run on main failed at the «Decode keystore» step. Which secret is wrong, and how do I fix it? |
Replies: 1 comment
|
Applies to: any version — this is how the project works by design. Each error says what went wrong. The step never prints the key.
To set the value without a hand copy: gh secret set KEYSTORE_BASE64 --repo <owner>/<repo> --body "$(base64 release.jks | tr -d '\n\r')"If you copied by hand, compare Two messages are not failures:
On a The step checks that the alias and the key password are set, but not that they are right; a wrong one fails later, in «Build». Keep the two passwords the same. More: https://github.com/lumenpearson/lessons/blob/main/docs/build.md#configuring-your-own-key |
Applies to: any version — this is how the project works by design.
Each error says what went wrong. The step never prints the key.
KEYSTORE_BASE64 is set but <names> is emptyKEYSTORE_PASSWORD,KEY_ALIASandKEY_PASSWORD… is not valid base64 … which is R more than a multiple of four=padding.… is not valid base64 … a multiple of four, so something inside it …