I am trying to generate a signed APK. I have my password.keystore file located in \Dictionary\android\app and when i ran gradlew assembleRelease on cmd, the error:
Execution failed for task ':app:validateSigningRelease'.
Keystore file not set for signing config release
Where should I store my password.keystore file? Because when I commented off the if (project.hasProperty("password.keystore") { it seems to work but with the following error instead:
Unable to process incoming event 'ProgressComplete ' (ProgressCompleteEvent)
How should I write my if condition or where should I store the password.keystore file?
The source code is as follows:
signingConfigs {
release {
if (project.hasProperty("password.keystore")) {
storeFile file("password.keystore")
storePassword "password"
keyAlias "username"
keyPassword "password"
}
}
}