dartlang:http_impl make crash when flutter run / flutter 1.22 / dart 2.10 #43688
Labels
area-core-library
SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
closed-as-intended
Closed as the reported issue is expected behavior
library-io
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
I don't know if it's right to put it up here. But actually this issue related withdartlang. So, I just create issue in here.
After upgrade to 1.22 flutter sdk. And flutter run. It return this error.
Launching lib/main.dart on LGM V300L in debug mode...
../../../flutter/.pub-cache/hosted/pub.dartlang.org/io_http-0.1.0+2/lib/src/http_impl.dart:1102:7: Error: The non-abstract class '_HttpClientRequest' is missing implementations for these members:
Try to either
class _HttpClientRequest extends _HttpOutboundMessage implements HttpClientRequest {
^^^^^^^^^^^^^^^^^^
org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:2045:8: Context: 'HttpClientRequest.abort' is defined here.
void abort([Object? exception, StackTrace? stackTrace]);
^^^^^
FAILURE: Build failed with an exception.
Where:
Script '/Users/denny/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 904
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
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 1m 54s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done 115.1s
Exception: Gradle task assembleDebug failed with exit code 1
flutter doctor.
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.6 19G2021, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.49.0)
[✓] Connected device (1 available)
• No issues found!
dart version is 2.10
Always thanks for dart lang.
The text was updated successfully, but these errors were encountered: