fix: add signing config so release APK can be installed
All checks were successful
Build & Deploy APK / build (push) Successful in 1m53s

The release build had no signing config, producing an unsigned APK
that Android refuses to install. Added debug keystore signing for
release builds and a CI step to ensure the keystore exists.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 22:08:41 +01:00
parent 0fc4e33f08
commit 5c2f089b4e
2 changed files with 26 additions and 0 deletions

View File

@@ -11,6 +11,15 @@ android {
namespace = "pl.firmatpp.itstransport"
compileSdk = 35
signingConfigs {
create("release") {
storeFile = file("${System.getProperty("user.home")}/.android/debug.keystore")
storePassword = "android"
keyAlias = "androiddebugkey"
keyPassword = "android"
}
}
defaultConfig {
applicationId = "pl.firmatpp.itstransport"
minSdk = 26
@@ -36,6 +45,7 @@ android {
)
}
release {
signingConfig = signingConfigs.getByName("release")
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),