Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DiagnosticsNode error #21

Closed
kennenfromchina opened this issue Jul 23, 2019 · 4 comments
Closed

DiagnosticsNode error #21

kennenfromchina opened this issue Jul 23, 2019 · 4 comments

Comments

@kennenfromchina
Copy link

kennenfromchina commented Jul 23, 2019

Compiler message:
file:///Users/admin/flutter/.pub-cache/hosted/pub.flutter-io.cn/cool_ui-0.1.15/lib/keyboards/keyboard_manager.dart:107:20: Error: The argument type 'String' can't be assigned to the parameter type 'DiagnosticsNode'.
 - 'DiagnosticsNode' is from 'package:flutter/src/foundation/diagnostics.dart' ('file:///Users/admin/flutter/packages/flutter/lib/src/foundation/diagnostics.dart').
Try changing the type of the parameter, or casting the argument to 'DiagnosticsNode'.
          context: 'during a platform message response callback',
                   ^
Compiler failed on /Users/admin/Desktop/WorkSpace/driver-custom/driver_custom/lib/main.dart
Error launching application on iPhone Xʀ.
@kennenfromchina
Copy link
Author

➜  ~ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.7.8+hotfix.3, on Mac OS X 10.14.5 18F132, locale zh-Hans-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] iOS tools - develop for iOS devices
[✓] Android Studio (version 3.4)
[✓] Connected device (2 available)

• No issues found!

@kennenfromchina
Copy link
Author

我现在把出错的那一行注释掉了,估计是flutter版本不同导致的问题

@Im-Kevin
Copy link
Owner

1.7.8需要升级下包版本,我后面修复了这个问题

@Im-Kevin
Copy link
Owner

#20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants