Skip to content
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

The video player fails to play videos after playing successfully 8-10 times #147443

Open
Raydden opened this issue Apr 27, 2024 · 1 comment
Open
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@Raydden
Copy link

Raydden commented Apr 27, 2024

Steps to reproduce

IMG_4990.mov

Expected results

Actual results

hi need help I have bug in my flutter tv android app player work few minutes and it stop working but when I tried it in mobile device it work perfectly

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

IMG_4990.mov

Logs

Logs
 +16 ms] executing: sw_vers -productName
[  +41 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +23 ms] Exit code 0 from: sw_vers -productVersion
[   +1 ms] 11.7.10
[        ] executing: sw_vers -buildVersion
[  +28 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20G1427
[        ] executing: uname -m
[  +10 ms] Exit code 0 from: uname -m
[        ] x86_64
[  +21 ms] executing: sysctl hw.optional.arm64
[  +22 ms] Exit code 1 from: sysctl hw.optional.arm64
[   +1 ms] sysctl: unknown oid 'hw.optional.arm64'
[ +288 ms] executing: sysctl hw.optional.arm64
[  +33 ms] Exit code 1 from: sysctl hw.optional.arm64
[   +1 ms] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[  +45 ms] Exit code 72 from: xcrun xcodebuild -version
[   +1 ms] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[   +1 ms] Xcode not found. Run 'flutter doctor' for more information.
[  +28 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[  +12 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +260 ms] executing: /Users/mac/Library/Android/sdk/platform-tools/adb devices -l
[  +10 ms] executing: xcrun xcodebuild -version
[  +20 ms] Exit code 72 from: xcrun xcodebuild -version
[   +1 ms] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[  +10 ms] executing: xcrun simctl list devices booted
[  +40 ms] Exit code 72 from: xcrun simctl list devices booted
[        ] xcrun: error: unable to find utility "simctl", not a developer tool or in PATH
[  +69 ms] List of devices attached
[   +9 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'LegacyCanvasKitRemover' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +51 ms] executing: xcrun xcodebuild -version
[  +25 ms] Exit code 72 from: xcrun xcodebuild -version
[        ] xcrun: error: unable to find utility "xcodebuild", not a developer tool or in PATH
[ +125 ms] No devices found yet. Checking for wireless devices...
[  +10 ms] No supported devices connected.
[  +11 ms] 
           The following devices were found, but are not supported by this project:
           macOS (desktop) • macos • darwin-x64 • macOS 11.7.10 20G1427 darwin-x64
           If you would like your app to run on macos, consider running `flutter create .` to generate projects for these platforms.
           
[  +32 ms] "flutter run" took 915ms.
[ +101 ms] 
                    #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
                    #1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:592:7)
                    <asynchronous suspension>
                    #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1704:5)
                    <asynchronous suspension>
                    #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1389:27)
                    <asynchronous suspension>
                    #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
                    <asynchronous suspension>
                    #5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
                    <asynchronous suspension>
                    #6      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:355:9)
                    <asynchronous suspension>
                    #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
                    <asynchronous suspension>
                    #8      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:295:5)
                    <asynchronous suspension>
                    #9      run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:119:9)
                    <asynchronous suspension>
                    #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:19)
                    <asynchronous suspension>
                    #11     main (package:flutter_tools/executable.dart:90:3)
                    <asynchronous suspension>
                    
                    
[ +828 ms] ensureAnalyticsSent: 314ms
[        ] Running 0 shutdown hooks
[        ] Shutdown hooks complete
[  +96 ms] exiting with code 1

Flutter Doctor output

Doctor output
Flutter (Channel stable, 3.19.5, on macOS 11.7.10 20G1427 darwin-x64, locale fr-MA)
    • Flutter version 3.19.5 on channel stable at /Users/mac/Downloads/flutter
    ! Warning: `flutter` on your path resolves to /usr/local/Caskroom/flutter/3.19.5/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/mac/Downloads/flutter. Consider adding /Users/mac/Downloads/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /usr/local/Cellar/dart@2.12/2.12.4/libexec/bin/dart, which is not inside your current Flutter SDK checkout at /Users/mac/Downloads/flutter. Consider adding /Users/mac/Downloads/flutter/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 300451adae (il y a 4 semaines), 2024-03-27 21:54:07 -0500
    • Engine revision e76c956498
    • Dart version 3.3.3
    • DevTools version 2.31.1
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/mac/Library/Android/sdk
    • Platform android-34-ext8, build-tools 34.0.0
    • ANDROID_HOME = /Users/mac/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS and macOS development.
      Download at: https://developer.apple.com/xcode/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 2023.2)
    • 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.9+0-17.0.9b1087.7-11185874)

[✓] Android Studio (version 2022.3)
    • Android Studio at /Applications/Android Studio AI-223.8836.35.2231.11005911.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.6+0-17.0.6b829.9-10027231)

[✓] Connected device (1 available)
    • macOS (desktop) • macos • darwin-x64 • macOS 11.7.10 20G1427 darwin-x64

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

! Doctor found issues in 3 categories.
Process finished with exit code 0
@huycozy huycozy added the in triage Presently being triaged by the triage team label Apr 29, 2024
@huycozy
Copy link
Member

huycozy commented Apr 29, 2024

Hi @Raydden
It's not clear how the issue occurs from your demo video. Could you share the step-by-step to reproduce it?

Please also provide a completed and minimal reproducible code sample that doesn’t include 3rd party plugins or complex production code. Thanks!

@huycozy huycozy added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

2 participants