-
Notifications
You must be signed in to change notification settings - Fork 304
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
start example fail #42
Comments
需要 flutter 1.22 以上版本 |
|
安装后报错: E/DartVM (29022): vm-service: Error: Unhandled exception: |
重新安装下指定版本的 Flutter |
同样的错误 |
@chenzefeng09 have you solved the problem? |
flutter 2.0 现在还不支持,请切换到 1.22.4 版本 |
按照readme启动example时,执行flutter run 失败。报错如下 :
../lib/src/gesture/scroll_position_with_single_context.dart:37:7: Error: The non-abstract class 'ScrollPositionWithSingleContext' is missing implementations for these members:
Try to either
class ScrollPositionWithSingleContext extends ScrollPosition implements ScrollActivityDelegate {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../flutter/packages/flutter/lib/src/rendering/viewport_offset.dart:96:12: Context: 'ViewportOffset.hasPixels' is defined here.
bool get hasPixels;
^^^^^^^^^
FAILURE: Build failed with an exception.
Where:
Script '/Users/chenzefeng/Development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 991
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 14s
The text was updated successfully, but these errors were encountered: