flet
flet copied to clipboard
Flet app package app/app.zip was not created.
Duplicate Check
- [X] I have searched the opened issues and there are no duplicates
Describe the bug
VERBOSE: Deleting sitecustomize directory C:\Users\yelo\AppData\Local\Temp\serious_python_sitecustomizeb605abbc Error: ProcessException: 系统找不到指定的文件。
Command: D:\main\apk\build\flutter\build\build_python_3.12.6\python\python.exe -m pip install --upgrade --disable-pip-version-check --only-binary :all: --extra-index-url https://pypi.flet.dev --target D:\main\apk\build\site-packages\arm64-v8a flet==0.25.2 Deleting temp directory [10:10:13] Flet app package app/app.zip was not created.
Code sample
Code
import flet as ft
def main(page: ft.Page):
counter = ft.Text("0", size=50, data=0)
def increment_click(e):
counter.data += 1
counter.value = str(counter.data)
counter.update()
page.floating_action_button = ft.FloatingActionButton(
icon=ft.Icons.ADD, on_click=increment_click
)
page.add(
ft.SafeArea(
ft.Container(
counter,
alignment=ft.alignment.center,
),
expand=True,
)
)
ft.app(main)
[Paste your code here]
To reproduce
flet create apk cd apk flet build apk
Expected behavior
No response
Screenshots / Videos
Captures
[Upload media here]
Operating System
Windows
Operating system details
windows 11
Flet version
0.25.2
Regression
No, it isn't
Suggestions
No response
Logs
Logs
[Paste your logs here]
VERBOSE: Deleting sitecustomize directory C:\Users\yelo\AppData\Local\Temp\serious_python_sitecustomizeb605abbc
Error: ProcessException: 系统找不到指定的文件。
Command: D:\main\apk\build\flutter\build\build_python_3.12.6\python\python.exe -m pip install --upgrade --disable-pip-version-check --only-binary :all: --extra-index-url https://pypi.flet.dev --target D:\main\apk\build\site-packages\arm64-v8a flet==0.25.2
Deleting temp directory
[10:10:13] Flet app package app/app.zip was not created.
Additional details
No response