Skip to content

Conversation

@janodetzel
Copy link
Contributor

@janodetzel janodetzel commented Jan 19, 2026

….store.file

When sign=true, the build failed with:

Keystore file '/home/runner/.gradle/daemon/9.0.0/release.keystore' not found for signing config 'externalOverride'.

It seems like the action wrote only the filename (e.g. release.keystore) to android.injected.signing.store.file. AGP treats it as a path and resolves relative values from the Gradle daemon directory, so it looked in the wrong place.

My Solution:

  • Run "Create local gradle.properties" after "Decode and store keystore" so KEYSTORE_TARGET_PATH (absolute path) is available.
  • Set android.injected.signing.store.file=$KEYSTORE_TARGET_PATH instead of the bare filename. AGP's externalOverride then finds the keystore.

ROCK_UPLOAD_* and other signing properties are unchanged.

….store.file

When sign=true, the build failed with:
  Keystore file '/home/runner/.gradle/daemon/9.0.0/release.keystore' not
found
  for signing config 'externalOverride'.

It seems like the action wrote only the filename (e.g. release.keystore)
to android.injected.signing.store.file. AGP treats it as a path and
resolves relative values from the Gradle daemon directory, so it looked
in the wrong place.

My Solution:
- Run "Create local gradle.properties" after "Decode and store keystore"
  so KEYSTORE_TARGET_PATH (absolute path) is available.
- Set android.injected.signing.store.file=$KEYSTORE_TARGET_PATH instead
of the bare filename. AGP's externalOverride then finds the keystore.

ROCK_UPLOAD_* and other signing properties are unchanged.
Copy link
Contributor

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! @rinej mind taking a look as well?

@thymikee thymikee merged commit e23c3e0 into callstackincubator:main Jan 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants