'having this Execution failed for task ':app:signReleaseBundle'
I am trying to upload my flutter app on the play store but it showing errors. Firstly I had stored the key file on this default location with this default name "c:\Users\USER_NAME\upload-Keystore.jks". right now my Keystore file is in this default location but copied it to the android/app folder of the project. But still getting the errors while releasing tried everything looked everywhere now I am stuck help me out, please.
Attaching the screenshot of the error & key.properties file.
I've used the android studio terminal with "Run command using IDE checked" & generated the key from android studio.
Solution 1:[1]
Add your keystore file in
flutterproject/android/appEdit your gradle file as fallow;
signingConfigs { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null storePassword keystoreProperties['storePassword'] } }
Then edit your keystore.properties like this:
storePassword=pass keyPassword=pass keyAlias=key storeFile=keystore.jks
If your alias and passwords are right, this should work.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | CidQu |
