Search code examples
flutterapkkeystore

Keystore file 'C:\...\android\app\<keystore.jks>' not found for signing config 'release'


  • What went wrong: Execution failed for task ':app:validateSigningRelease'.

Keystore file 'C:\Users\Sam\StudioProjects\map_edinburgh_guide_airbnb\android\app<keystore.jks>' not found for signing config 'release'.

How torturous is this whole process?!

So I've generated a keystore, twice, once I put it on this path: C:\Users\Sam\StudioProjects\keystore

But AS seemed to want it elsewhere, so I generated the keystore again, to the project directory, as above, modifying my key.properties file to:

keyAlias=key0
storeFile=<keystore.jks>

You can see I've omitted the path from storeFile, but if I don't AS seems to use the same path twice & throws this:

* What went wrong:
Execution failed for task ':app:validateSigningRelease'.
> Keystore file 'C:\Users\Sam\StudioProjects\map_edinburgh_guide_airbnb\android\app\<C:\Users\Sam\StudioProjects\map_edinburgh_guide_airbnb\android\app\keystore.jks>' not found for signing config 'release'.

Bonkers!

OMG this is killing me, please help.


Solution

  • Solved, the angle brackets provided in the docs should be REMOVED from all field, storePassword, keyPassowrd, alias, & storeFile

    THANK THE LORD!