-
Notifications
You must be signed in to change notification settings - Fork 583
Closed
Description
Good day, I hope you are well.
I have been trying to build(not compile) a flet extension all day. I was successful at building the entire day and at some point got the example project running. However, I struggled a lot to use this built package with my other projects using flet. That's a separate problem though.
So I deleted the project and created a new project from beginning. I didn't edit any files other than add to all pyproject.toml files.
[tool.flet.flutter.pubspec.dependency_overrides]
webview_flutter_android = "4.10.1"
Then when I run flet build windows -v
:
PS C:\Users\rykli\Reckoning-main\Flet-Extensions\flet_textfield_cursor\examples\flet_textfield_cursor_example> flet build windows
[18:11:22] Flutter 3.29.2 installed ✅
[18:11:27] Created Flutter bootstrap project from gh:flet-dev/flet-build-template with ref "0.28.3" ✅
[18:12:14] Packaged Python app ✅
Registered Flutter user extensions ✅
[18:12:26] Generated app icons ✅
[18:13:54] Resolving dependencies...
Downloading packages...
archive 3.6.1 (4.0.7 available)
characters 1.4.0 (1.4.1 available)
checked_yaml 2.0.3 (2.0.4 available)
device_info_plus 11.5.0 (12.1.0 available)
fl_chart 0.69.2 (1.1.0 available)
! flet 0.28.3 (overridden)
flutter_lints 2.0.3 (6.0.0 available)
flutter_native_splash 2.4.4 (2.4.6 available)
image 4.3.0 (4.5.4 available)
intl 0.19.0 (0.20.2 available)
js 0.6.7 (0.7.2 available)
lints 2.1.1 (6.0.0 available)
material_color_utilities 0.11.1 (0.13.0 available)
meta 1.16.0 (1.17.0 available)
package_info_plus 8.3.1 (9.0.0 available)
petitparser 6.1.0 (7.0.1 available)
sensors_plus 4.0.2 (7.0.0 available)
sensors_plus_platform_interface 1.2.0 (2.0.1 available)
! serious_python 0.9.3 from git https://github.com/flet-dev/serious-python.git at 211d3f in
src/serious_python (overridden)
toml 0.15.0 (0.16.0 available)
url_launcher_android 6.3.20 (6.3.21 available)
url_strategy 0.2.0 (discontinued)
vector_math 2.1.4 (2.2.0 available)
! wakelock_plus 1.3.3 (overridden) (1.4.0 available)
! web 1.1.1 (overridden)
web_socket_channel 2.4.5 (3.0.3 available)
! webview_flutter_android 4.10.1 (overridden) (4.10.2 available)
win32 5.13.0 (5.14.0 available)
! window_manager 0.4.3 (overridden) (0.5.1 available)
xml 6.5.0 (6.6.1 available)
Got dependencies!
1 package is discontinued.
27 packages have newer versions incompatible with dependency constraints.
Try `flutter pub outdated` for more information.
windows/flutter/CMakeLists.txt does not use FLUTTER_TARGET_PLATFORM, updating.
Building Windows application...
Building Windows application... 84.0s
C:\Users\rykli\Reckoning-main\Flet-Extensions\flet_textfield_cursor\examples\flet_textfield_cursor_example\bu
ild\flutter\windows\flutter\ephemeral\.plugin_symlinks\screen_retriever_windows\windows\screen_retriever_wind
ows_plugin_c_api.cpp(1,10): fatal error C1083: Cannot open include file:
'include/screen_retriever_windows/screen_retriever_windows_plugin_c_api.h': No such file or directory
[C:\Users\rykli\Reckoning-main\Flet-Extensions\flet_textfield_cursor\examples\flet_textfield_cursor_example\b
uild\flutter\build\windows\x64\plugins\screen_retriever_windows\screen_retriever_windows_plugin.vcxproj]
C:\Users\rykli\Reckoning-main\Flet-Extensions\flet_textfield_cursor\examples\flet_textfield_cursor_example\bu
ild\flutter\windows\flutter\ephemeral\.plugin_symlinks\serious_python_windows\windows\serious_python_windows_
plugin_c_api.cpp(1,10): fatal error C1083: Cannot open include file:
'include/serious_python_windows/serious_python_windows_plugin_c_api.h': No such file or directory
[C:\Users\rykli\Reckoning-main\Flet-Extensions\flet_textfield_cursor\examples\flet_textfield_cursor_example\b
uild\flutter\build\windows\x64\plugins\serious_python_windows\serious_python_windows_plugin.vcxproj]
Build process failed.
[18:13:57] Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.29.2, on Microsoft Windows [Version 10.0.26100.5074], locale en-ZA)
[✓] Windows Version (11 Home 64-bit, 24H2, 2009)
[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
✗ cmdline-tools component is missing
Run `path/to/sdkmanager --install "cmdline-tools;latest"`
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/to/windows-android-setup for more details.
[✓] Chrome - develop for the web
[✓] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.38)
[✓] Android Studio (version 2025.1.1)
[✓] Connected device (3 available)
[✓] Network resources
! Doctor found issues in 1 category.
Note that if the platform is web it works.
Metadata
Metadata
Assignees
Labels
No labels