From da2b0af62b2a157eee57487ec7da86048f372db9 Mon Sep 17 00:00:00 2001 From: KunMinX Date: Thu, 13 Mar 2025 11:35:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20windows=20=E6=89=93?= =?UTF-8?q?=E5=8C=85=E5=90=8E=E6=97=A0=E6=B3=95=E5=90=AF=E5=8A=A8=20exe=20?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 解决 package:media_kit_libs_windows_video registered. Segmentation fault. --- pubspec.yaml | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index ac04a1b08..fc164a7e9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -84,9 +84,9 @@ dependencies: encrypt: ^5.0.3 # 视频播放器 - media_kit: ^1.1.10 # Primary package. - media_kit_video: ^1.2.4 # For video rendering. - media_kit_libs_video: ^1.0.4 + media_kit: ^1.1.11 + media_kit_video: ^1.2.5 + media_kit_libs_video: ^1.0.5 # 媒体通知 audio_service: ^0.18.13 @@ -171,18 +171,9 @@ dev_dependencies: build_runner: ^2.4.8 dependency_overrides: - media_kit: - git: - url: https://github.com/media-kit/media-kit - path: media_kit - media_kit_video: - git: - url: https://github.com/media-kit/media-kit - path: media_kit_video - media_kit_libs_video: - git: - url: https://github.com/media-kit/media-kit - path: libs/universal/media_kit_libs_video + media_kit: ^1.1.11 + media_kit_video: ^1.2.5 + media_kit_libs_video: ^1.0.5 flutter_launcher_icons: android: true