US Office

1176 Shadeville Rd, Crawfordville Florida 32327, USA

 +1 (850) 780-1313

India Office

Office No 405, Kabir Shilp, Opp. Kansar Hotel, Opp. Landmark, Kudasan, Gandhinagar, Gujarat 382421

[email protected]

How to Solve If Keystore File not Set for Signing Config Release In Flutter?

How to Solve If Keystore File not Set for Signing Config Release In Flutter

How to Solve If Keystore File not Set for Signing Config Release In Flutter?

Every app needs to be digitally signed by its own Keystore (a .jks file) before being uploaded to Google or Apple. When you deploy newer versions, they will use the digital signature to verify the authenticity of the upload. Therefore DO NOT lose this file and DO NOT check it into version control, keep a copy of it somewhere safe. So in this article, we will go through How to Solve If Keystore File not Set for Signing Config Release In Flutter.

How to Solve If Keystore File not Set for Signing Config Release In Flutter??

Contents of key.properties files should be like this:

storePassword=XXXXXX
keyPassword=XXXXXXXX
keyAlias=key
storeFile=D:/XXXX/XXXXX/key.jks

Sometimes users need to change the key.properties file path to:

def keystorePropertiesFile = rootProject.file('app/key.properties')

You can test your configuration is being read properly or not by printing the values to the console. For example, in your .gradle file you can have:

println keystorePropertiesFile

to make sure that the object is populated with the values you expect.

So in this case, I originally set the path to my key.jks in the key.properties like this:

storeFile=~/key.jks

and it couldn’t read it so all I had to do was change it to:

storeFile=Users/tomas/key.jks

Conclusion:

Drop your feedback right below in the comment section.

Thanks for reading !!!

So in this article, we have been through How to Solve If Keystore File not Set for Signing Config Release In Flutter.

Keep Learning !!! Keep Fluttering !!!

Do let us know if you have any doubts about Flutter development!! We would love to assist you ūüôā

Flutter Agency is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget Guide, Flutter Projects, Code libs and etc.

Flutter Agency is one of the most popular online portals dedicated to Flutter Technology and daily thousands of unique visitors come to this portal to enhance their knowledge of Flutter.

Post a Comment