juliuscanute/qr_code_scanner

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

Opened this issue · 6 comments

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):

  • Device: [ Galaxy J7 pro ][ POCO M4 pro]

Screenshots
image
image

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

Thanks in advanced.

facing the same issue

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

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

I am having the same issue

is there any solution?

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