You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
i just executed
"flutter create wooExampleApp"
added "woocommerce: ^ 0.9.0" to the premises
and "import 'package: woocommerce / woocommerce.dart';" in main.dart
when I run "flutter run", I get the error:
Compiler message:
../../../flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.1/lib/http.dart:72:77: Error: Expected '}' before this.
client.post(url, headers: headers, body: body, encoding: encoding);
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.1/lib/http.dart:70:9: Error: A value of type 'Set<Future<Response>>' can't be assigned to a variable of type 'Future<Response>'.
- 'Set' is from 'dart:core'.
- 'Future' is from 'dart:async'.
- 'Response' is from 'package:http/src/response.dart' ('../../../flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.1/lib/src/response.dart').
{
^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Dev\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\Dev\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 54s
SDK:
environment:
sdk: ">=2.7.0 <3.0.0"
any help?
The text was updated successfully, but these errors were encountered:
Hey Thank you. I am unable to reproduce this currently. However just pushed version 0.9.5 with lots of performance improvements, you can try using that and let me know your feedback.
Hello,
i just executed
"flutter create wooExampleApp"
added "woocommerce: ^ 0.9.0" to the premises
and "import 'package: woocommerce / woocommerce.dart';" in main.dart
when I run "flutter run", I get the error:
SDK:
environment:
sdk: ">=2.7.0 <3.0.0"
any help?
The text was updated successfully, but these errors were encountered: