-
-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Android] [FATAL:flutter/shell/platform/android/surface_texture_external_texture.cc(56)] Check failed: state_ == AttachmentState::kAttached. #952
Comments
A version that was working fine before also throws an error. |
By the way, if it delays the breakpoint a bit before building, It works fine. |
It definitely works the first time. |
I used startDelay: true and it worked fine. We are creating a new instance and outputting it as an independent Widget View, not a PageView. Is this the right way to use it? Thank you. [My code]
|
Is there any way to handle startDelay: true when the camera is shut down, not when it starts up? Thank you. |
This seems to be related? flutter/flutter#138947 The issue seems to be fixed on the master channel at the moment, so this will be included in the next Flutter stable release, that is due sometime this month. If you switch to the master channel, does the issue occur? |
Is 'startDelay: true' just a time delay?
|
I haven't checked the github master version yet. Thank you. |
The start delay is an older parameter that was left in from older releases. It will be removed in the next major release. |
I've verified that it works on the master version. Thanks a lot.
|
I'll keep this issue open and will monitor for the stable release. Once that lands and the fix is verified to be in stable, we can close this issue. |
I've checked the stable version and found no issues.
Thanks a lot. |
Hi,
An error occurs on the Android device.
The first time you run the camera, there is no error, but the second time, there is an error.
This hadn't happened before.
This is a recent error.
Why is this error occurring?
[My env.]
mobile_scanner: 4.0.0 # https://pub.dev/packages/mobile_scanner/versions
[✓] Flutter (Channel stable, 3.16.9, on macOS 14.3 23D56 darwin-arm64, locale ko-KR)
• Flutter version 3.16.9 on channel stable at /Users/jeonglockpark/Desktop/work/flutter_sdk/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 41456452f2 (11 days ago), 2024-01-25 10:06:23 -0800
• Engine revision f40e976bed
• Dart version 3.2.6
• DevTools version 2.28.5
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/jeonglockpark/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.7+0-17.0.7b1000.6-10550314)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 15C500b
• CocoaPods version 1.15.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2023.1)
• Android Studio at /Applications/Android Studio.app/Contents
• 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.7+0-17.0.7b1000.6-10550314)
[✓] VS Code (version 1.86.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[✓] Connected device (4 available)
• SM A125N (mobile) • R59R700M14X • android-arm64 • Android 12 (API 31)
• Chrome (web) • chrome • web-javascript • Google Chrome 121.0.6167.139
[✓] Network resources
• All expected network resources are available.
• No issues found!
The text was updated successfully, but these errors were encountered: