Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not find key.properties #40

Open
EKwongChum opened this issue Jan 22, 2020 · 4 comments
Open

Can not find key.properties #40

EKwongChum opened this issue Jan 22, 2020 · 4 comments

Comments

@EKwongChum
Copy link

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?

@weypro
Copy link

weypro commented Mar 20, 2020

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

@RaulMarquezInclan
Copy link

RaulMarquezInclan commented Apr 17, 2020

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

@iampawan
Copy link
Owner

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

@csgulati09
Copy link

No line number is not matching

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants