-
Notifications
You must be signed in to change notification settings - Fork 626
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
Calling flet build macos results in the following error
flet build macos
( ● ) Initializing macos build...
[19:13:25] Running build hooks...Running build hooks...
Because window_manager 0.5.1 requires the Flutter SDK and no versions of window_manager match >0.5.1 <0.6.0,
window_manager ^0.5.1 is forbidden.
So, because tt depends on window_manager ^0.5.1, version solving failed.
Flutter users should use `flutter pub` instead of `dart pub`.
[19:13:32] Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.2, on macOS 26.3 25D125 darwin-arm64, locale zh-Hans-CN)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/to/macos-android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[✓] Xcode - develop for iOS and macOS (Xcode 26.3)
[✗] 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.
[✓] Connected device (1 available)
[✓] Network resources
! Doctor found issues in 2 categories.
and Running the project directly in the Flutter directory also throws an error
flutter run -d macos
Resolving dependencies...
Downloading packages...
! flet 0.81.0 (overridden)
flutter_lints 2.0.3 (6.0.0 available)
flutter_native_splash 2.4.6 (2.4.7 available)
lints 2.1.1 (6.1.0 available)
meta 1.17.0 (1.18.1 available)
pasteboard 0.4.0 (0.5.0 available)
petitparser 6.1.0 (7.0.2 available)
toml 0.15.0 (0.18.0 available)
win32 5.15.0 (6.0.0 available)
win32_registry 2.1.0 (3.0.2 available)
xml 6.5.0 (6.6.1 available)
Got dependencies!
10 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
Launching lib/main.dart on macOS in debug mode...
Updating project for Xcode compatibility.
Upgrading Runner.xcscheme
.gitignore does not ignore Swift Package Manager build directories, updating.
Upgrading Runner.xcscheme
Running pod install... 1,189ms
No file or variants found for asset: app/app.zip.
Target debug_macos_bundle_flutter_assets failed: Exception: Failed to bundle asset files.
Failed to package /Users/protosse/Desktop/tt/build/flutter.
Command PhaseScriptExecution failed with a nonzero exit code
warning: Run script build phase 'Run Script' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Flutter Assemble' from project 'Runner')
** BUILD FAILED **
Building macOS application...
Error: Build process failed
Code sample
Code
[Paste your code here]To reproduce
just run flet build macos in an initial project
Expected behavior
No response
Screenshots / Videos
No response
Operating System
macOS
Operating system details
26.3 (25D125)
Flet version
0.81.0
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]Additional details
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working