kaina404 / FlutterDouBan

🔥🔥🔥Flutter豆瓣客户端,Awesome Flutter Project,全网最100%还原豆瓣客户端。首页、书影音、小组、市集及个人中心,一个不拉。( https://img.xuvip.top/douyademo.mp4)
8.71k stars 1.82k forks source link

平台是Android Studio3.5.2,运行后是以下提示 #56

Closed NemoLin6 closed 2 years ago

NemoLin6 commented 4 years ago

build splash initState _ContainerPageState build _ContainerPageState build HomePage build FlutterTabBarView _ShopPageWidgetState initState build widget.url=https://flutterchina.club/ build PersonCenterPage preferredSize preferredSize init state推荐 getContentSliver initState movie_page build movie_page ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════ The following TestFailure object was thrown running a test: Expected: exactly one matching node in the widget tree Actual: ?:<zero widgets with text "0" (ignoring offstage widgets)> Which: means none were found but one was expected

When the exception was thrown, this was the stack:

4 main. (file:///D:/AndroidStudioProjects/FlutterDouBan-master-new/test/widget_test.dart:19:5)

#5 testWidgets.. (package:flutter_test/src/widget_tester.dart:119:25) #6 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:648:19) #9 TestWidgetsFlutterBinding._runTest (package:flutter_test/src/binding.dart:631:14) #10 AutomatedTestWidgetsFlutterBinding.runTest. (package:flutter_test/src/binding.dart:1016:24) #16 AutomatedTestWidgetsFlutterBinding.runTest (package:flutter_test/src/binding.dart:1013:15) #17 testWidgets. (package:flutter_test/src/widget_tester.dart:116:22) #18 Declarer.test... (package:test_api/src/backend/declarer.dart:168:27) #19 Invoker.waitForOutstandingCallbacks. (package:test_api/src/backend/invoker.dart:250:15) #24 Invoker.waitForOutstandingCallbacks (package:test_api/src/backend/invoker.dart:247:5) #25 Declarer.test.. (package:test_api/src/backend/declarer.dart:166:33) #30 Declarer.test. (package:test_api/src/backend/declarer.dart:165:13) #31 Invoker._onRun.... (package:test_api/src/backend/invoker.dart:400:25) #45 _Timer._runTimers (dart:isolate-patch/timer_impl.dart:382:19) #46 _Timer._handleMessage (dart:isolate-patch/timer_impl.dart:416:5) #47 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12) (elided 28 frames from class _FakeAsync, package dart:async, package dart:async-patch, and package stack_trace) This was caught by the test expectation on the following line: file:///D:/AndroidStudioProjects/FlutterDouBan-master-new/test/widget_test.dart line 19 The test description was: Counter increments smoke test ════════════════════════════════════════════════════════════════════════════════════════════════════ Test failed. See exception logs above. The test description was: Counter increments smoke test 然后我就不会搞了
kaina404 commented 2 years ago

项目已经更新到最新版本拉,可以pull并且直接运行了。卡顿可以使用Release模式运行。