ishak Evet hocam boş projede. New project deyip direk çalıştıra bastığımda böyle hata veriyor.
Launching lib\main.dart on API28 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
Built build\app\outputs\apk\debug\app-debug.apk.
E/flutter ( 2425): [ERROR:flutter/shell/common/shell.cc(184)] Dart Error: Unhandled exception:
E/flutter ( 2425): 'dart:ui/window.dart': Failed assertion: line 302: '<optimized out>': is not true.
E/flutter ( 2425): #0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40:39)
E/flutter ( 2425): #1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter ( 2425): #2 new Locale.fromSubtags (dart:ui/window.dart:302:15)
E/flutter ( 2425): #3 _updateLocales (dart:ui/hooks.dart:76:43)
W/yak.ilk_flutte( 2425): Accessing hidden method Landroid/view/accessibility/AccessibilityNodeInfo;->getSourceNodeId()J (light greylist, reflection)
W/yak.ilk_flutte( 2425): Accessing hidden method Landroid/view/accessibility/AccessibilityRecord;->getSourceNodeId()J (light greylist, reflection)
W/yak.ilk_flutte( 2425): Accessing hidden field Landroid/view/accessibility/AccessibilityNodeInfo;->mChildNodeIds:Landroid/util/LongArray; (light greylist, reflection)
W/yak.ilk_flutte( 2425): Accessing hidden method Landroid/util/LongArray;->get(I)J (light greylist, reflection)
I/OpenGLRenderer( 2425): Initialized EGL, version 1.4
D/OpenGLRenderer( 2425): Swap behavior 1
D/ ( 2425): HostConnection::get() New Host Connection established 0xdefb6a40, tid 2454
D/ ( 2425): HostConnection::get() New Host Connection established 0xdf2a0f40, tid 2445
W/ ( 2425): Unrecognized GLES max version string in extensions:
W/ ( 2425): Unrecognized GLES max version string in extensions:
D/EGL_emulation( 2425): eglCreateContext: 0xdf2855a0: maj 2 min 0 rcv 2
D/EGL_emulation( 2425): eglCreateContext: 0xdf285780: maj 2 min 0 rcv 2
D/vndksupport( 2425): Loading /vendor/lib/hw/android.hardware.graphics.mapper@2.0-impl.so from current namespace instead of sphal namespace.
D/vndksupport( 2425): Loading /vendor/lib/hw/gralloc.vbox86.so from current namespace instead of sphal namespace.
E/EGL_emulation( 2425): tid 2454: eglSurfaceAttrib(1354): error 0x3009 (EGL_BAD_MATCH)
W/OpenGLRenderer( 2425): Failed to set EGL_SWAP_BEHAVIOR on surface 0xdf285720, error=EGL_BAD_MATCH
[{"event":"app.progress","params":{"appId":"e25e7f5a-a7c1-4c17-9e53-5f9371cb409b","id":"3","progressId":null,"message":"Syncing files to device API28..."}}]Syncing files to device API28...
I/flutter ( 2425): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
I/flutter ( 2425): The following NoSuchMethodError was thrown building ScrollConfiguration(behavior:
I/flutter ( 2425): _MaterialScrollBehavior):
I/flutter ( 2425): The getter 'languageCode' was called on null.
I/flutter ( 2425): Receiver: null
I/flutter ( 2425): Tried calling: languageCode
I/flutter ( 2425):
I/flutter ( 2425): When the exception was thrown, this was the stack:
I/flutter ( 2425): #0 Object.noSuchMethod (dart:core-patch/object_patch.dart:50:5)
I/flutter ( 2425): #1 _WidgetsAppState.basicLocaleListResolution (package:flutter/src/widgets/app.dart:921:57)
I/flutter ( 2425): #2 _WidgetsAppState._resolveLocales (package:flutter/src/widgets/app.dart:844:12)
I/flutter ( 2425): #3 _WidgetsAppState.initState (package:flutter/src/widgets/app.dart:714:15)
I/flutter ( 2425): #4 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4033:58)
I/flutter ( 2425): #5 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
I/flutter ( 2425): #6 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
I/flutter ( 2425): #7 Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
I/flutter ( 2425): #8 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
I/flutter ( 2425): #9 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
I/flutter ( 2425): #10 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
I/flutter ( 2425): #11 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
I/flutter ( 2425): #12 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
I/flutter ( 2425): #13 Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
I/flutter ( 2425): #14 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
I/flutter ( 2425): #15 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
I/flutter ( 2425): #16 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
I/flutter ( 2425): #17 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4053:11)
I/flutter ( 2425): #18 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
I/flutter ( 2425): #19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
I/flutter ( 2425): #20 Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
I/flutter ( 2425): #21 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:3935:16)
I/flutter ( 2425): #22 Element.rebuild (package:flutter/src/widgets/framework.dart:3721:5)
I/flutter ( 2425): #23 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:3907:5)
I/flutter ( 2425): #24 ComponentElement.mount (package:flutter/src/widgets/framework.dart:3902:5)
I/flutter ( 2425): #25 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3084:14)
I/flutter ( 2425): #26 Element.updateChild (package:flutter/src/widgets/framework.dart:2887:12)
I/flutter ( 2425): #27 RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:939:16)
I/flutter ( 2425): #28 RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:910:5)
I/flutter ( 2425): #29 RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:856:17)
I/flutter ( 2425): #30 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2320:19)
I/flutter ( 2425): #31 RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:855:13)
I/flutter ( 2425): #32 _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&SemanticsBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:736:7)
I/flutter ( 2425): #33 runApp (package:flutter/src/widgets/binding.dart:786:7)
I/flutter ( 2425): #34 main (package:ilk_flutter/main.dart:3:16)
I/flutter ( 2425): #35 _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:216:25)
I/flutter ( 2425): #40 _runMainZoned.<anonymous closure> (dart:ui/hooks.dart:208:5)
I/flutter ( 2425): #41 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:301:19)
I/flutter ( 2425): #42 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:12)
I/flutter ( 2425): (elided 4 frames from package dart:async)
I/flutter ( 2425): ════════════════════════════════════════════════════════════════════════════════════════════════════
I/Choreographer( 2425): Skipped 54 frames! The application may be doing too much work on its main thread.
I/OpenGLRenderer( 2425): Davey! duration=1224ms; Flags=1, IntendedVsync=50869340342, Vsync=51769340306, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=51776661474, AnimationStart=51776693122, PerformTraversalsStart=51777637177, DrawStart=51785367464, SyncQueued=51786727918, SyncStart=51827695325, IssueDrawCommandsStart=51827791537, SwapBuffers=51874110098, FrameCompleted=52135125069, DequeueBufferDuration=27373000, QueueBufferDuration=304000,