Skip to content
Discussion options

You must be logged in to vote

Thanks for the repo, that made it easy to find.

Quick fix: add flet to your dependencies in pyproject.toml and rebuild:

[project]
name = "gestion-queso"
version = "1.0.0"
requires-python = ">=3.9"
dependencies = ["flet==0.25.2"]

Why it crashes: your APK doesn't contain the flet Python package. With no dependencies in pyproject.toml (and no requirements.txt), Flet 0.25.2's flet build packages your app without installing any Python packages. You can see it in your CI log: the serious_python ... package step runs without --requirements. On startup the app fails before it can report the error, so it just closes, and that's why Logcat shows nothing useful. (Since Flet 0.26.0, flet build adds flet

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@RIB93-stack
Comment options

@ndonkoHenri
Comment options

Answer selected by ndonkoHenri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants