Giter VIP home page Giter VIP logo

Comments (9)

AlexV525 avatar AlexV525 commented on June 28, 2024 1

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.

AlexV525 avatar AlexV525 commented on June 28, 2024 1

Then we should continue tracking this with a further reland if I get this correct.

from flutter.

AlexV525 avatar AlexV525 commented on June 28, 2024

cc @camsim99

#149294 is related but targeting another implementation package.

from flutter.

AlexV525 avatar AlexV525 commented on June 28, 2024

Migrating to the camerax implementation is unacceptable to downstream packages since:

  1. The camera_android is not deprecated.
  2. flutter pub upgrade will automatically upgrade the package to this broken version and shipped to the user end.
  3. Both packages are still experimental (no major version releases yet).

from flutter.

danagbemava-nc avatar danagbemava-nc commented on June 28, 2024

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.

AlexV525 avatar AlexV525 commented on June 28, 2024

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.

camsim99 avatar camsim99 commented on June 28, 2024

This is a duplicate of #149294 I believe.

from flutter.

camsim99 avatar camsim99 commented on June 28, 2024

@AlexV525 Gotcha. Looks like camera_android may need a similar fix to the one camera_android_camerax is getting to support Impeller.

from flutter.

camsim99 avatar camsim99 commented on June 28, 2024

FYI @jonahwilliams. Going to approve the revert.

from flutter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.