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!

Share:
1,693
Sam
Author by

Sam

Updated on December 29, 2022

Comments

  • Sam
    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
      Nisanth Reddy about 3 years
      Have you put your keystore file in the `android\app` folder of your project ?
    • Sam
      Sam about 3 years
      Yes 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
      Sam about 3 years
      key.properties is simply in the parent android/ directory
    • Sisir
      Sisir about 3 years
      You can use relative path. In the Key.properties you can use app\key.jks
    • Sam
      Sam about 3 years
      Gives this error: > Keystore file 'C:\Users\Sam\StudioProjects\map_edinburgh_guide_airbnb\andr‌​oid\app\<app\keystor‌​e.jks>' not found for signing config 'release'.
  • Sisir
    Sisir about 3 years
    The angle brackets are placeholders for the actual path name