[FIXED] pass missing

> Task :app:packageFdroidRelease FAILED
gradle/actions: Writing build results to /home/runner/work/_temp/.gradle-actions/build-results/__run_2-1751129646875.json
[Incubating] Problems report is available at: file:///home/runner/work/trmnl-android/trmnl-android/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:packageFdroidRelease'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
   > SigningConfig "release" is missing required property "keyPassword".
This commit is contained in:
Hossain Khan
2025-06-28 12:58:55 -04:00
parent a6c9089968
commit d8f91d8e6a
+3 -3
View File
@@ -47,11 +47,11 @@ android {
storeFile = file("${rootProject.projectDir}/keystore/trmnl-app-release.keystore")
// Values come from CI/CD secrets or local secret.properties file
// Note: keyPassword is intentionally omitted - this keystore works when
// jarsigner uses the store password for both store and key access
// Note: keyPassword is set to the same value as storePassword because this PKCS12 keystore
// requires the store password to be used for both store and key access
storePassword = System.getenv("KEYSTORE_PASSWORD") ?: project.findProperty("KEYSTORE_PASSWORD") as String?
keyAlias = System.getenv("KEY_ALIAS") ?: project.findProperty("KEY_ALIAS") as String?
// keyPassword = ... // Intentionally omitted - see note above
keyPassword = System.getenv("KEYSTORE_PASSWORD") ?: project.findProperty("KEYSTORE_PASSWORD") as String?
}
}