Flutter-UI-Kit icon indicating copy to clipboard operation
Flutter-UI-Kit copied to clipboard

Can not find key.properties

Open EKwongChum opened this issue 5 years ago • 4 comments
trafficstars

Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.

FAILURE: Build failed with an exception.

  • Where: Build file '/Users/ekwong/Code/Github/Flutter-UI-Kit/android/app/build.gradle' line: 29

  • What went wrong: A problem occurred evaluating project ':app'.

/path/to/project/Flutter-UI-Kit/android/key.properties (No such file or directory)

so where is the key.properties file?

EKwongChum avatar Jan 22 '20 08:01 EKwongChum

I face this problem today and solve it successfully. You can comment the code about signing config. path: /android/build.gradle line: 27, 49, 63

weypro avatar Mar 20 '20 10:03 weypro

Just to expand on @weypro 's answer in case the line numbers he mentions don't exactly match, these are the lines to comment out:

  1. keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

  2. signingConfigs { release { keyAlias keystoreProperties['keyAlias'] keyPassword keystoreProperties['keyPassword'] storeFile file(keystoreProperties['storeFile']) storePassword keystoreProperties['storePassword'] } }

  3. signingConfig signingConfigs.release

These lines should be around the line numbers @weypro mentioned

RaulMarquezInclan avatar Apr 17 '20 09:04 RaulMarquezInclan

Is the line numbers not matching? I have already mentioned in the readme about this issue

iampawan avatar Apr 18 '20 05:04 iampawan

No line number is not matching

csgulati09 avatar Oct 29 '20 20:10 csgulati09