gpt4 book ai didi

android - flutter-upgrade 破坏了我的应用程序

转载 作者:IT王子 更新时间:2023-10-29 06:51:46 26 4
gpt4 key购买 nike

我正在使用 flutter 构建一个应用程序,在我选择运行 flutter-upgrade 命令来升级我的安装之前,它一直运行良好。现在,我使用 ListView 的应用程序的一部分完全损坏,在尝试访问使用 ListView 的应用程序部分后,应用程序的其余部分中断,小部件停止正确呈现。

在我升级我的 flutter 安装之前一切正常,我需要在下周之前完成该应用程序。

这是日志:

I/flutter ( 4850): Another exception was thrown: not implemented
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: _RenderListTile#d393e relayoutBoundary=up13 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPadding#91fed relayoutBoundary=up12 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#f8b9f relayoutBoundary=up11 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#907c6 relayoutBoundary=up10 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsGestureHandler#82c34 relayoutBoundary=up9 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: _RenderInkFeatures#c0929 relayoutBoundary=up8 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderCustomPaint#cb75f relayoutBoundary=up7 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPhysicalShape#f4dd1 relayoutBoundary=up6 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPadding#21ed2 relayoutBoundary=up5 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#bfca1 relayoutBoundary=up4 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: 'package:flutter/src/rendering/sliver_multi_box_adaptor.dart': Failed assertion: line 441 pos 12: 'child.hasSize': is not true.
I/flutter ( 4850): Another exception was thrown: NoSuchMethodError: The getter 'scrollOffsetCorrection' was called on null.
I/flutter ( 4850): Another exception was thrown: NoSuchMethodError: The method 'debugAssertIsValid' was called on null.
I/flutter ( 4850): Another exception was thrown: NoSuchMethodError: The getter 'visible' was called on null.
I/flutter ( 4850): Another exception was thrown: Please see the documentation for computeDistanceToActualBaseline for the required calling conventions of this method.
I/flutter ( 4850): Another exception was thrown: Please see the documentation for computeDistanceToActualBaseline for the required calling conventions of this method.
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: _RenderListTile#287cb relayoutBoundary=up24 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPadding#c0494 relayoutBoundary=up23 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#aeb03 relayoutBoundary=up22 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#e84fd relayoutBoundary=up21 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsGestureHandler#9eefe relayoutBoundary=up20 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderFlex#21c05 relayoutBoundary=up19 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: _RenderInkFeatures#206e4 relayoutBoundary=up18 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderCustomPaint#97115 relayoutBoundary=up17 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPhysicalShape#a3dfd relayoutBoundary=up16 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPadding#b037b relayoutBoundary=up15 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#73cda relayoutBoundary=up14 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: 'package:flutter/src/rendering/sliver_multi_box_adaptor.dart': Failed assertion: line 441 pos 12: 'child.hasSize': is not true.
I/flutter ( 4850): Another exception was thrown: NoSuchMethodError: The getter 'scrollOffsetCorrection' was called on null.
I/flutter ( 4850): Another exception was thrown: NoSuchMethodError: The method 'debugAssertIsValid' was called on null.
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderShrinkWrappingViewport#3820e relayoutBoundary=up10 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderIgnorePointer#24f8f relayoutBoundary=up9 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#2dc3c relayoutBoundary=up8 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#3a18a relayoutBoundary=up7 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsGestureHandler#32415 relayoutBoundary=up6 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: _RenderExcludableScrollSemantics#4231f relayoutBoundary=up5 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#25954 relayoutBoundary=up4 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderCustomPaint#f9945 relayoutBoundary=up3 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderRepaintBoundary#d55b6 relayoutBoundary=up2 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: Please see the documentation for computeDistanceToActualBaseline for the required calling conventions of this method.
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: _RenderListTile#55872 relayoutBoundary=up9 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPadding#14d29 relayoutBoundary=up8 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsAnnotations#da286 relayoutBoundary=up7 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderPointerListener#ac1fb relayoutBoundary=up6 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderSemanticsGestureHandler#daa7e relayoutBoundary=up5 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: RenderBox was not laid out: RenderFlex#4e74a relayoutBoundary=up4 NEEDS-PAINT
I/flutter ( 4850): Another exception was thrown: 'package:flutter/src/rendering/sliver_multi_box_adaptor.dart': Failed assertion: line 441 pos 12: 'child.hasSize': is not true.
I/flutter ( 4850): Another exception was thrown: NoSuchMethodError: The getter 'scrollOffsetCorrection' was called on null.
I/flutter ( 4850): Another exception was thrown: NoSuchMethodError: The method 'debugAssertIsValid' was called on null.

非常感谢您提供的任何帮助。提前致谢。

PS:为了以防万一,ListView实现的代码可以找到here .

我的 Flutter 版本:Flutter 0.5.7-pre.62 • channel 主控 • https://github.com/flutter/flutter.git框架 • 修订版 7ac183794b(27 小时前) • 2018-07-06 15:21:29 -0700引擎 • 修订版 6fe748490d工具 • Dart 2.0.0-dev.63.0.flutter-4c9689c1d2

我目前使用的是主 channel ,但该应用程序仍然与 Beta channel 的最新版本不兼容。

最佳答案

您可以随时通过克隆所需版本的 Flutter 存储库来降级 Flutter。然后运行 ​​flutter doctor

关于android - flutter-upgrade 破坏了我的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51228225/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com