Error text
Failed to read key release from store "/app/release.jks": Cannot recover key Execution failed for task ':app:packageRelease'. > com.android.ide.common.signing.KeytoolException
Failed to read key release from store "/app/release.jks": Cannot recover key Execution failed for task ':app:packageRelease'. > com.android.ide.common.signing.KeytoolException
The keystore opens, but the given alias is not found, or the key password differs from the keystore password.
keytool -list -keystore release.jks to see the real alias names.keyAlias letter for letter (case matters).storePassword and keyPassword can be two different passwords; check both.gradle.properties or environment variables, not from code../gradlew signingReport shows which signature is used.keytool -list -keystore release.jks ./gradlew signingReport # gradle.properties (git-ə qoyma) KEY_ALIAS=release KEY_PASSWORD=****
Document the alias and passwords together with the signing key.
Author and license: Nibras Code