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

Is there a way to turn on verbose logging for the Flutter Build task? #69

Open
dpaquette opened this issue Nov 26, 2020 · 4 comments
Open

Comments

@dpaquette
Copy link

I am getting the following error in the build log and it does not provide enough information to diagnose the problem.

Gradle build failed to produce an .apk file. It's likely that this file was generated under /Users/runner/work/1/s/build, but the tool couldn't find it.
##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/1.22.4-stable/macos/flutter/bin/flutter' failed with exit code 1

Is there an option to pass the --verbose flag to flutter build?

@Max-Might
Copy link

It looks like the error comes from the android build system so this is not directly related to the plugin.
Can you post the full build log?

@dpaquette
Copy link
Author

I figured out the problem, it was a missing flavor parameter but the build logs didn't provide any information to help diagnose that. My question is if there is a way to enable verbose logging for the flutter build task

@Max-Might
Copy link

Max-Might commented Nov 26, 2020

I think there is no such feature currently.

@hey24sheep
Copy link

If you want you can use my flutter task or create a pr for verbose here.

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

3 participants