Failed to run template project. Specify --flavor
vanlooverenkoen opened this issue · 3 comments
vanlooverenkoen commented
Initializing gradle...
Resolving dependencies...
The Gradle project does not define a task suitable for the requested build.
The android/app/build.gradle file defines product flavors: alpha, beta, dev, prod
You must specify a --flavor option to select one of them.
Finished with error: Gradle build aborted.
Add the option --flavor to make sure you run one of the allowed flavors
https://medium.com/@salvatoregiordanoo/flavoring-flutter-392aaa875f36
vanlooverenkoen commented
Supported flavors
-dev
-alpha
-beta
-prod
Add your flavor to the build flavor input field
Extra:
When using multiple main.dart files you can specify the correct main.dart file in the dart entry point.
The Readme contains some info about environments
https://github.com/icapps/flutter-template#environments
HannesVDB commented
Die --dev
kan ook enkel dev
zijn lijkt me?
vanlooverenkoen commented
Yes inderdaad. Dat moet dev zijn. Ik pas de screenshot nog even aan.