gpt4 book ai didi

flutter - 为什么我会得到这么多随机输出,这是什么意思?

转载 作者:行者123 更新时间:2023-12-03 04:00:28 25 4
gpt4 key购买 nike

我正在编写一个Flutter应用程序,每次运行它时,都会得到大量输入,我不知道这意味着什么

我运行的每个应用程序都会发生这种情况,我不知道为什么并且没有找到有关此的信息

我会共享一些代码,但我认为这与我运行的任何特定代码无关,因为它发生在任何应用程序中。
但是,我将提供此类输出的示例

E/flutter (27835): #1      BaseClient._sendUnstreamed (package:http/src/base_client.dart:169:38)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #2 BaseClient.get (package:http/src/base_client.dart:32:7)
E/flutter (27835): #3 get.<anonymous closure> (package:http/http.dart:46:36)
E/flutter (27835): #4 _withClient (package:http/http.dart:166:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #5 get (package:http/http.dart:46:5)
E/flutter (27835): #6 randomImages (package:google_play_recreation/main.dart:439:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #7 new Category.<anonymous closure> (package:google_play_recreation/main.dart:337:45)
E/flutter (27835): #8 __CastListBase&_CastIterableBase&ListMixin.forEach (dart:collection/list.dart:63:13)
E/flutter (27835): #9 new Category (package:google_play_recreation/main.dart:337:17)
E/flutter (27835): #10 _HomeState.build.<anonymous closure>.<anonymous closure> (package:google_play_recreation/main.dart:233:68)
E/flutter (27835): #11 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367:8)
E/flutter (27835): #12 _HomeState.build.<anonymous closure> (package:google_play_recreation/main.dart:233:29)
E/flutter (27835): #13 _FutureBuilderState.build (package:flutter/src/widgets/async.dart)
E/flutter (27835): #14 StatefulElement.build (package:flutter/src/widgets/framework.dart:4012:27)
E/flutter (27835): #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3924:15)
E/flutter (27835): #16 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #17 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #21 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #25 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #27 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4817:32)
E/flutter (27835): #28 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5208:17)
E/flutter (27835): #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #32 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #34 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #35 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #36 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #37 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #39 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #40 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5099:14)
E/flutter (27835): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #45 Element.rebuild (package:flutter/src/widgets/framewor
E/flutter (27835): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: SocketException: OS Error: Software caused connection abort, errno = 103, address = dog.ceo, port = 42980
E/flutter (27835): #0 IOClient.send (package:http/src/io_client.dart:33:23)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:169:38)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #2 BaseClient.get (package:http/src/base_client.dart:32:7)
E/flutter (27835): #3 get.<anonymous closure> (package:http/http.dart:46:36)
E/flutter (27835): #4 _withClient (package:http/http.dart:166:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #5 get (package:http/http.dart:46:5)
E/flutter (27835): #6 randomImages (package:google_play_recreation/main.dart:439:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #7 new Category.<anonymous closure> (package:google_play_recreation/main.dart:337:45)
E/flutter (27835): #8 __CastListBase&_CastIterableBase&ListMixin.forEach (dart:collection/list.dart:63:13)
E/flutter (27835): #9 new Category (package:google_play_recreation/main.dart:337:17)
E/flutter (27835): #10 _HomeState.build.<anonymous closure>.<anonymous closure> (package:google_play_recreation/main.dart:233:68)
E/flutter (27835): #11 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367:8)
E/flutter (27835): #12 _HomeState.build.<anonymous closure> (package:google_play_recreation/main.dart:233:29)
E/flutter (27835): #13 _FutureBuilderState.build (package:flutter/src/widgets/async.dart)
E/flutter (27835): #14 StatefulElement.build (package:flutter/src/widgets/framework.dart:4012:27)
E/flutter (27835): #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3924:15)
E/flutter (27835): #16 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #17 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #21 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #25 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #27 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4817:32)
E/flutter (27835): #28 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5208:17)
E/flutter (27835): #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #32 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #34 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #35 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #36 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #37 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #39 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #40 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5099:14)
E/flutter (27835): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #45 Element.rebuild (package:flutter/src/widgets/framewor
E/flutter (27835): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: SocketException: OS Error: Software caused connection abort, errno = 103, address = dog.ceo, port = 49710
E/flutter (27835): #0 IOClient.send (package:http/src/io_client.dart:33:23)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:169:38)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #2 BaseClient.get (package:http/src/base_client.dart:32:7)
E/flutter (27835): #3 get.<anonymous closure> (package:http/http.dart:46:36)
E/flutter (27835): #4 _withClient (package:http/http.dart:166:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #5 get (package:http/http.dart:46:5)
E/flutter (27835): #6 randomImages (package:google_play_recreation/main.dart:439:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #7 new Category.<anonymous closure> (package:google_play_recreation/main.dart:337:45)
E/flutter (27835): #8 __CastListBase&_CastIterableBase&ListMixin.forEach (dart:collection/list.dart:63:13)
E/flutter (27835): #9 new Category (package:google_play_recreation/main.dart:337:17)
E/flutter (27835): #10 _HomeState.build.<anonymous closure>.<anonymous closure> (package:google_play_recreation/main.dart:233:68)
E/flutter (27835): #11 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367:8)
E/flutter (27835): #12 _HomeState.build.<anonymous closure> (package:google_play_recreation/main.dart:233:29)
E/flutter (27835): #13 _FutureBuilderState.build (package:flutter/src/widgets/async.dart)
E/flutter (27835): #14 StatefulElement.build (package:flutter/src/widgets/framework.dart:4012:27)
E/flutter (27835): #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3924:15)
E/flutter (27835): #16 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #17 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #21 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #25 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #27 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4817:32)
E/flutter (27835): #28 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5208:17)
E/flutter (27835): #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #32 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #34 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #35 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #36 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #37 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #38 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #39 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #40 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #41 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #42 SingleChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5099:14)
E/flutter (27835): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #44 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #45 Element.rebuild (package:flutter/src/widgets/framewor
E/flutter (27835): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: SocketException: OS Error: Software caused connection abort, errno = 103, address = dog.ceo, port = 48866
E/flutter (27835): #0 IOClient.send (package:http/src/io_client.dart:33:23)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:169:38)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #2 BaseClient.get (package:http/src/base_client.dart:32:7)
E/flutter (27835): #3 get.<anonymous closure> (package:http/http.dart:46:36)
E/flutter (27835): #4 _withClient (package:http/http.dart:166:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #5 get (package:http/http.dart:46:5)
E/flutter (27835): #6 randomImages (package:google_play_recreation/main.dart:439:20)
E/flutter (27835): <asynchronous suspension>
E/flutter (27835): #7 new Category.<anonymous closure> (package:google_play_recreation/main.dart:337:45)
E/flutter (27835): #8 __CastListBase&_CastIterableBase&ListMixin.forEach (dart:collection/list.dart:63:13)
E/flutter (27835): #9 new Category (package:google_play_recreation/main.dart:337:17)
E/flutter (27835): #10 _HomeState.build.<anonymous closure>.<anonymous closure> (package:google_play_recreation/main.dart:233:68)
E/flutter (27835): #11 __InternalLinkedHashMap&_HashVMBase&MapMixin&_LinkedHashMapMixin.forEach (dart:collection-patch/compact_hash.dart:367:8)
E/flutter (27835): #12 _HomeState.build.<anonymous closure> (package:google_play_recreation/main.dart:233:29)
E/flutter (27835): #13 _FutureBuilderState.build (package:flutter/src/widgets/async.dart)
E/flutter (27835): #14 StatefulElement.build (package:flutter/src/widgets/framework.dart:4012:27)
E/flutter (27835): #15 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3924:15)
E/flutter (27835): #16 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #17 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #18 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #19 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #20 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #21 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #22 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #23 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #24 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #25 ProxyElement.update (package:flutter/src/widgets/framework.dart:4219:5)
E/flutter (27835): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #27 RenderObjectElement.updateChildren (package:flutter/src/widgets/framework.dart:4817:32)
E/flutter (27835): #28 MultiChildRenderObjectElement.update (package:flutter/src/widgets/framework.dart:5208:17)
E/flutter (27835): #29 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:15)
E/flutter (27835): #30 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
E/flutter (27835): #31 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
E/flutter (27835): #32 StatefulElement.update (package:flutter/src/widgets/framework.dart:4085:5)
E/flutter (27835): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2876:

这个应用程序确实有意打印一些文本,但是所有这些错误都很奇怪和令人困惑

我不希望得到所有这些输出,并认为这表示我不理解的问题

编辑:既然您要了,现在 the code is on github

最佳答案

如果连接速度慢或者您尝试通过Internet从api获取一些数据并且未连接到Internet,则可能发生此错误,这是由于Internet连接引起的。我的应用程序中也发生了相同的错误,因此我重新连接到了互联网服务,并且该错误已被删除,因此您也可以尝试此操作。
希望这会有所帮助。

关于flutter - 为什么我会得到这么多随机输出,这是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57547577/

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