Skip to content

Commit c8ad816

Browse files
committed
fix: explicitly set debug keystore path in signingConfigs
Gradle may use a cached/auto-generated debug.keystore instead of the one we placed at ~/.android/debug.keystore. Explicitly configure storeFile path to ensure consistent signing across local and CI.
1 parent bf7b35c commit c8ad816

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

app/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ android {
3939
namespace = "com.example.epubspoon"
4040
compileSdk = 35
4141

42+
signingConfigs {
43+
getByName("debug") {
44+
storeFile = file("${System.getProperty("user.home")}/.android/debug.keystore")
45+
storePassword = "android"
46+
keyAlias = "androiddebugkey"
47+
keyPassword = "android"
48+
}
49+
}
50+
4251
defaultConfig {
4352
applicationId = "com.example.epubspoon"
4453
minSdk = 26

0 commit comments

Comments
 (0)