Trying to run the chapter 2 code gives error
esoinila opened this issue · 1 comments
Improperly formatted define flag: Blocs
FAILURE: Build failed with an exception.
-
Where:
Script '/Users/a35850/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035 -
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/a35850/development/flutter/bin/flutter'' finished with non-zero exit value 1
-
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 1s
Exception: Gradle task assembleDebug failed with exit code 1
"run fvm flutter create ." in the directory and changed the directory name to be lovercase fixed it for me.