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

1 Problem setting up the project with anaysis-options.yaml #1

Closed
srlopez opened this issue Apr 11, 2020 · 2 comments
Closed

1 Problem setting up the project with anaysis-options.yaml #1

srlopez opened this issue Apr 11, 2020 · 2 comments

Comments

@srlopez
Copy link

srlopez commented Apr 11, 2020

After clone the repo, and with VSCode starting to debug (F5) I get the fallowing error:

!analysis_options.yaml 
The include file package:pedantic/analysis_options.yaml in /{homepath}/dev/flutter/EXAMPLES-my_quotes/analysis_options.yaml cannot be found.

But it's there.
In addtion the beug console shows:

* Where:
Build file ' /{homepath}/dev/flutter/EXAMPLES-my_quotes/android/app/build.gradle' line: 53

* What went wrong:
A problem occurred evaluating project ':app'.
> path may not be null or empty string. path='null'

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

What's wrong?
Thanks in advance

@PawlikMichal25
Copy link
Owner

I'm not sure about analysis_options.yaml, but regarding the build.gradle try:

  • removing this part:
    signingConfigs {
        release {
            keyAlias keystoreProperties['keyAlias']
            keyPassword keystoreProperties['keyPassword']
            storeFile file(keystoreProperties['storeFile'])
            storePassword keystoreProperties['storePassword']
        }
    }

and then changing:
signingConfig signingConfigs.release to signingConfig signingConfigs.debug

@srlopez
Copy link
Author

srlopez commented Apr 13, 2020

Indeed,
That is the solution .
I really liked the architecture of your application. Nice job.
I have taken advantage of the quarantine to learn from your work.

@srlopez srlopez closed this as completed Apr 13, 2020
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

2 participants