[Question] Does not work .exe file. what is problem? pleasse help me #3401
-
Questionwhen I just run by "python main.py" , it work. I created .exe file by using "flet build windows" flet verison => 0.22.1 flutter version ==> OS ==> windows 11 pro But when I run .exe file, it doesn't work, what is problem? please help me. P.S. I tried antother.
Code sampleimport flet as ft
def main(page : ft.Page):
page.theme_mode = ft.ThemeMode.DARK
page.vertical_alignment = ft.MainAxisAlignment.CENTER
page.horizontal_alignment = ft.CrossAxisAlignment.CENTER
page.window_resizable = False
page.expand = True
page.padding = 0
page.add(
ft.Container(
content = ft.Column(
controls=[
ft.Text("TEST 1"),
ft.Text("TEST 2"),
ft.Text("TEST 3"),
]
)
)
)
ft.app(target = main, assets_dir="assets") Error messageNo response ------------------------------------------------------
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I got a solution from moderator of our language channel in Discord |
Beta Was this translation helpful? Give feedback.
I got a solution from moderator of our language channel in Discord
Problem was flutter version....