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

The android/app/build.gradle file defines product flavors: opensource, playstore You must specify a --flavor option to select one of them. #8

Closed
yash365 opened this issue Jun 3, 2019 · 1 comment

Comments

@yash365
Copy link

yash365 commented Jun 3, 2019

Getting this error while running the project:

The Gradle project does not define a task suitable for the requested build.
The android/app/build.gradle file defines product flavors: opensource, playstore
You must specify a --flavor option to select one of them.
Gradle build aborted.

any help will be helpful

@AChep
Copy link
Owner

AChep commented Jun 3, 2019

That's exactly what you should do. There are two flavors available: playstore and opensource.

Read this on how to build with a flavor https://flutter.dev/docs/deployment/flavors

@AChep AChep closed this as completed Jun 3, 2019
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