Execution failed for task ‘:app:packageDebug’.
A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
com.android.ide.common.signing.KeytoolExcept
storePassword=finpro
keyPassword=finpro
keyAlias=fin
storeFile=/Users/macbookpro/Ongoing works/Finpro/fin_pro/keystore/fin-pro.jks
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
2
Answers
Use the keytool command to list the aliases in the keystore and verify that the alias "fin" exists. Ensure that the alias "fin" is present in the output.
after that, sync your project with Gradle files and perform a clean build:
I don’t know what exactly did you do to mess it up, but here’s what works for me always across projects
secrets.properties
file at the root levelbuild.gradle.kts
file as follows