You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My Flet project build failed on macOS 15. The version is Flet 0.82.2 and Flutter 3.41. Flutter reported an error.
Does anyone know how to solve this problem?
[12:33:32] Building macOS application...
lib/main.dart:91:19: Error: No named parameter with the name 'hideLoadingPage'.
hideLoadingPage: hideLoadingPage,
^^^^^^^^^^^^^^^
../../../../../.pub-cache/hosted/pub.dev/flet-0.82.2/lib/src/flet_app.dart:29:9: Context: Found this candidate, but the
arguments don't match. const FletApp( ^^^^^^^ lib/main.dart:109:25: Error: No named parameter with the name 'hideLoadingPage'. hideLoadingPage: hideLoadingPage, ^^^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dev/flet-0.82.2/lib/src/flet_app.dart:29:9: Context: Found this candidate, but the arguments don't match.
const FletApp(
^^^^^^^
Target kernel_snapshot_program failed: Exception
Failed to package /Users/ricardo/Documents/办公/VSingerBoard/build/flutter.
Command PhaseScriptExecution failed with a nonzero exit code
[12:33:33] 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 **
Build process failed
Run subprocess: ['/Users/ricardo/flutter/3.41.4/bin/flutter', 'doctor', '--no-version-check', '--suppress-analytics']
[12:33:43] Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.41.4, on macOS 15.7.4 24G517 darwin-arm64, locale zh-Hans-CN)
[✗] Android toolchain - develop for Android devices
✗ cmdline-tools component is missing.
Try installing or updating Android Studio.
Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to
set the ANDROID_HOME environment variable.
See https://developer.android.com/studio/command-line for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Proxy Configuration
[✓] Connected device (2 available)
[✓] Network resources
! Doctor found issues in 1 category.
╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Error building Flet app - see the log of failed command above. │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Error: Application packaging failed.
Tip: If GitHub mirror fails, try configuring your local proxy in the script.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My Flet project build failed on macOS 15. The version is Flet 0.82.2 and Flutter 3.41. Flutter reported an error.
Does anyone know how to solve this problem?
[12:33:32] Building macOS application... lib/main.dart:91:19: Error: No named parameter with the name 'hideLoadingPage'. hideLoadingPage: hideLoadingPage, ^^^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dev/flet-0.82.2/lib/src/flet_app.dart:29:9: Context: Found this candidate, but the arguments don't match. const FletApp( ^^^^^^^ lib/main.dart:109:25: Error: No named parameter with the name 'hideLoadingPage'. hideLoadingPage: hideLoadingPage, ^^^^^^^^^^^^^^^ ../../../../../.pub-cache/hosted/pub.dev/flet-0.82.2/lib/src/flet_app.dart:29:9: Context: Found this candidate, but the arguments don't match. const FletApp( ^^^^^^^ Target kernel_snapshot_program failed: Exception Failed to package /Users/ricardo/Documents/办公/VSingerBoard/build/flutter. Command PhaseScriptExecution failed with a nonzero exit code [12:33:33] 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 ** Build process failed Run subprocess: ['/Users/ricardo/flutter/3.41.4/bin/flutter', 'doctor', '--no-version-check', '--suppress-analytics'] [12:33:43] Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.41.4, on macOS 15.7.4 24G517 darwin-arm64, locale zh-Hans-CN) [✗] Android toolchain - develop for Android devices ✗ cmdline-tools component is missing. Try installing or updating Android Studio. Alternatively, download the tools from https://developer.android.com/studio#command-line-tools-only and make sure to set the ANDROID_HOME environment variable. See https://developer.android.com/studio/command-line for more details. [✓] Xcode - develop for iOS and macOS (Xcode 16.4) [✓] Chrome - develop for the web [✓] Proxy Configuration [✓] Connected device (2 available) [✓] Network resources ! Doctor found issues in 1 category. ╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ Error building Flet app - see the log of failed command above. │ ╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ Error: Application packaging failed. Tip: If GitHub mirror fails, try configuring your local proxy in the script.Beta Was this translation helpful? Give feedback.
All reactions