I've been having this problem recently as I'm searching everywhere, also here in stack, I see a lot of different answers.
Does anybody know how to solve this one?
Error:(46, 0) Could not get unknown property 'RELEASE_STORE_PASSWORD' for SigningConfig_Decorated{name=debug, storeFile=C:\Users\— Shahab —\Desktop\master\TMessagesProj\config\release.keystore, storePassword=android, keyAlias=AndroidDebugKey, keyPassword=android, storeType=C:\Users\— Shahab —\Desktop\master\TMessagesProj\config\release.keystore, v1SigningEnabled=true, v2SigningEnabled=true} of type com.android.build.gradle.internal.dsl.SigningConfig. Open File
Make sure that you have added the below line in your build.gradle file @ android/app.
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
Can you share your build gradle file? It seems that there is some problem in your Signing Configs.
Sharing a demo Signing Config code.
signingConfigs {
release {
storeFile file('demo.jks')
storePassword "demo123"
keyAlias "demo"
keyPassword "demo123"
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With