Keystore file 'C:\...\android\app\<keystore.jks>' not found for signing config 'release'
1,693
Solved, the angle brackets provided in the docs should be REMOVED from all field, storePassword, keyPassowrd, alias, & storeFile
THANK THE LORD!
Author by
Sam
Updated on December 29, 2022Comments
-
Sam over 1 year
- 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.
-
Nisanth Reddy about 3 yearsHave you put your
keystore
file in the `android\app` folder of your project ? -
Sam about 3 yearsYes I have, on the second attempt. The problem as given. I wondered if I'm not meant to wrap things in <> brackets in the properties file, but when I remove them, still problems.
-
Sam about 3 yearskey.properties is simply in the parent android/ directory
-
Sisir about 3 yearsYou can use relative path. In the Key.properties you can use
app\key.jks
-
Sam about 3 yearsGives this error: > Keystore file
'C:\Users\Sam\StudioProjects\map_edinburgh_guide_airbnb\android\app\<app\keystore.jks>' not found for signing config 'release'.
-
Sisir about 3 yearsThe angle brackets are placeholders for the actual path name