Skip to content

Instantly share code, notes, and snippets.

@PiN73
Created November 15, 2019 15:03
Show Gist options
  • Save PiN73/ad210b3f9477c96b0b5a84e6702c47b8 to your computer and use it in GitHub Desktop.
Save PiN73/ad210b3f9477c96b0b5a84e6702c47b8 to your computer and use it in GitHub Desktop.
functional_widget - flutter run
C:\Users\Pavel\AndroidStudioProjects\test_functional_widget>flutter run
Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling
software rendering with "--enable-software-rendering".
generating build script... 27,9s
starting build daemon... 0,9s
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle... 1,5s
Resolving dependencies... 5,6s
starting build daemon... 0,3s
Compiler message:
org-dartlang-app:/main.dart:23:16: Error: Method not found: 'Foo'.
child: Foo(42),
^^^
org-dartlang-app:/main.dart:23:16: Error: The method 'Foo' isn't defined for the class 'MyHomePage'.
- 'MyHomePage' is from 'package:test_functional_widget/main.dart' ('org-dartlang-app:/main.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Foo'.
child: Foo(42),
^^^
Compiler failed on C:\Users\Pavel\AndroidStudioProjects\test_functional_widget\lib\main.dart
FAILURE: Build failed with an exception.
* Where:
Script 'C:\flutterSdk\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 765
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebugX86'.
> Process 'command 'C:\flutterSdk\flutter\bin\flutter.bat'' 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 14s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 14,8s
Gradle task assembleDebug failed with exit code 1
C:\Users\Pavel\AndroidStudioProjects\test_functional_widget>flutter build
Flutter build commands.
Usage: flutter build <subcommand> [arguments]
-h, --help Print this usage information.
Available subcommands:
aar Build a repository containing an AAR and a POM file.
aot Build an ahead-of-time compiled snapshot of your app's Dart code.
apk Build an Android APK file from your app.
appbundle Build an Android App Bundle file from your app.
bundle Build the Flutter assets directory from your app.
ios Build an iOS application bundle (Mac OS X host only).
Run "flutter help" to see global options.
C:\Users\Pavel\AndroidStudioProjects\test_functional_widget>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment