juliuscanute / qr_code_scanner

QR Code Scanner for Flutter
BSD 2-Clause "Simplified" License
1.01k stars 786 forks source link

[BUG] LateInitializationError: Field '_channel@606294394' has not been initialized. #719

Open aravinthk00 opened 11 months ago

aravinthk00 commented 11 months ago

Describe the bug while I open the qr_code_scanner page getting black screen.

Flutter information Always provide the output of flutter doctor -v as it is needed in order to know on which Flutter versions the bug exists in.

[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.19045.3693], locale en-IN) • Flutter version 3.13.9 on channel stable at D:\dev\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d211f42860 (6 weeks ago), 2023-10-25 13:42:25 -0700 • Engine revision 0545f8705d
• Dart version 3.1.5
• DevTools version 2.25.0

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0) • Android SDK at C:\Users\myviz\AppData\Local\Android\sdk • Platform android-34, build-tools 34.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231) • All Android licenses accepted.

[√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps X Visual Studio not installed; this is necessary to develop Windows apps. Download at https://visualstudio.microsoft.com/downloads/. Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2022.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] Connected device (4 available) • SM J730GM (mobile) • 52001c50eafd9451 • android-arm • Android 9 (API 28) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.3693] • Chrome (web) • chrome • web-javascript • Google Chrome 119.0.6045.200 • Edge (web) • edge • web-javascript • Microsoft Edge 119.0.2151.97

[√] Network resources • All expected network resources are available.

Device (please complete the following information):

Screenshots image image

Additional context Release build also given same issue. Hi, @juliuscanute please help me for solve this issue.

Thanks in advanced.

fauzipadlaw commented 9 months ago

facing the same issue

ash199909 commented 8 months ago

running perfect on debug, but same error in profile and release mode

Hung6129 commented 8 months ago

I also encountered this bug. Has anyone found a solution for the following issue? How can I resolve this bug?

stefoverflow commented 5 months ago

I am having the same issue

neveraskaab commented 3 months ago

is there any solution?

dema-ristocloud commented 3 weeks ago

same error n the web implementation: DartError: LateInitializationError: Field '_channel' has not been initialized.