miru-project/miru-app
View on GitHubBuild fails on Linux with Flutter 3.24.5, Dart 3.5.4
Open
#306 opened on Nov 21, 2024
help wanted
Description
Brief summary
Building the linux version fails because Dart 3.5 brought a breaking change:
ERROR: ../../../.pub-cache/hosted/pub.dev/win32-5.2.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.
ERROR: final UnmodifiableUint8ListView bytes;
ERROR: ^^^^^^^^^^^^^^^^^^^^^^^^^
Steps to reproduce
- Clone source code with git
- Install dependencies: clang cmake libgtk-3-dev libmpv-dev ninja-build pkg-config
- Build:
flutter --no-version-check build linux --release - Get error message
Workaround:
flutter pub upgrade --major-versions share_plus package_info_plus
flutter pub add fluent_ui:^4.9.2
flutter pub add media_kit:^1.1.11
flutter pub add easy_refresh:^3.4.0
flutter pub add archive:^3.6.1
Miru version
v1.8.1-22-g8599d0d
Device
Debian Linux
Acknowledgements
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
- If this is an issue with a extension, I should be opening an issue in the extension repository.