Comments (9)
This is a duplicate of #149294 I believe.
@camsim99 As I mentioned, #149294 and all its references are targeting the camerax implementation (like PRs are only changing files with camerax), not the camera2, so I believe it's not a duplicate but only shares the same behavior.
from flutter.
Then we should continue tracking this with a further reland if I get this correct.
from flutter.
cc @camsim99
#149294 is related but targeting another implementation package.
from flutter.
Migrating to the camerax implementation is unacceptable to downstream packages since:
- The
camera_android
is not deprecated. flutter pub upgrade
will automatically upgrade the package to this broken version and shipped to the user end.- Both packages are still experimental (no major version releases yet).
from flutter.
Reproducible using the plugin example app. This indeed works as expected with camera_android: 0.10.9+3 but does not work with 0.10.9+5
0.10.9+5 | 0.10.9+3 |
---|---|
flutter doctor -v
[√] Flutter (Channel stable, 3.22.2, on Microsoft Windows [Version 10.0.22631.3155], locale en-US)
• Flutter version 3.22.2 on channel stable at C:\Users\Deana\fvm\versions\stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 761747bfc5 (2 weeks ago), 2024-06-05 22:15:13 +0200
• Engine revision edd8546116
• Dart version 3.4.3
• DevTools version 2.34.3
[√] 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\Deana\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.7+0-b2043.56-10550314)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.2)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.8.34322.80
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2023.1)
• 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.7+0-b2043.56-10550314)
[√] VS Code (version 1.87.2)
• VS Code at C:\Users\Deana\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.90.0
[√] Connected device (4 available)
• Pixel 7 (mobile) • 28291FDH2001SA • android-arm64 • Android 14 (API 34)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3155]
• Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.62
• Edge (web) • edge • web-javascript • Microsoft Edge 124.0.2478.97
[√] Network resources
• All expected network resources are available.
• No issues found!
[!] Flutter (Channel master, 3.23.0-13.0.pre.242, on Microsoft Windows [Version 10.0.22631.3155], locale en-US)
• Flutter version 3.23.0-13.0.pre.242 on channel master at C:\Users\Deana\fvm\versions\master
! Warning: `flutter` on your path resolves to C:\Users\Deana\fvm\versions\stable\bin\flutter, which is not inside your current Flutter SDK checkout at C:\Users\Deana\fvm\versions\master. Consider adding C:\Users\Deana\fvm\versions\master\bin to the front of your path.
! Warning: `dart` on your path resolves to C:\Users\Deana\fvm\versions\stable\bin\dart, which is not inside your current Flutter SDK checkout at C:\Users\Deana\fvm\versions\master. Consider adding C:\Users\Deana\fvm\versions\master\bin to the front of your path.
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5187cab7bd (5 days ago), 2024-06-14 23:35:34 -0400
• Engine revision 9779c273aa
• Dart version 3.5.0 (build 3.5.0-266.0.dev)
• DevTools version 2.36.0
• If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.
[√] 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\Deana\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.7+0-b2043.56-10550314)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.2)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.8.34322.80
• Windows 10 SDK version 10.0.22621.0
[√] Android Studio (version 2023.1)
• 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.7+0-b2043.56-10550314)
[√] VS Code (version 1.87.2)
• VS Code at C:\Users\Deana\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.90.0
[√] Connected device (4 available)
• Pixel 7 (mobile) • 28291FDH2001SA • android-arm64 • Android 14 (API 34)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3155]
• Chrome (web) • chrome • web-javascript • Google Chrome 126.0.6478.62
• Edge (web) • edge • web-javascript • Microsoft Edge 124.0.2478.97
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 1 category.
from flutter.
To be clear, only Flutter 3.22+ can reproduce this because the SDK constraint has been set in the latest version of the plugin, so previous Flutter users won't resolve this version and will stay at v0.10.9+2.
from flutter.
This is a duplicate of #149294 I believe.
from flutter.
@AlexV525 Gotcha. Looks like camera_android may need a similar fix to the one camera_android_camerax is getting to support Impeller.
from flutter.
FYI @jonahwilliams. Going to approve the revert.
from flutter.
Related Issues (20)
- WidgetsBindingObserver doesn't report gaining / losing focus on GNOME when changing workspace views HOT 2
- [camera_android_camerax] `ResolutionPreset.max` gets different camera aspect ratio compare to `camera_android` HOT 2
- [camera_android_camerax] `setZoomLevel` is slow or throttled compare to `camera_android` HOT 1
- [tool_crash] SocketException: Send failed, OS Error: No route to host, errno = 65 HOT 1
- AndroidView touch event issue HOT 2
- [tool_crash] Flutter crashes when filesystem doesn't support symbolic links HOT 2
- HarmonyOS next HOT 1
- android_deferred_components_setup_files generates invalid build.gradle HOT 3
- Blur doesn't apply properly when a platform view gets rounded HOT 4
- Unable to Launch Microsoft Edge for Flutter HOT 3
- [tool] `TestBed` doesn't include a stub for `Analytics`
- [tool_crash] FileSystemException: Failed to decode data using encoding 'utf-8', null HOT 1
- [tool] some tests test for sending GA3 analytics events but not GA4
- GoRouter should better deal with multiple path separators HOT 4
- flutter 3.22: linux gl texture crashes HOT 3
- GoogleSignIn().signIn() causes IPhone app to crash HOT 3
- [bug] DropdownMenu that is open does not close upon a system back gesture HOT 1
- [Go Router] Control state of some branches in StatefulShellRoute HOT 2
- [android_alarm_manager_plus] Calling `AndroidAlarmManager.initialize()` causes multiple calls to `onAttachedToEngine` in other plugins HOT 5
- Suggestion for adding limit when using pickMultiImage() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.