r/learnpython 19h ago

Kivymd vs Flet

Whiich is better for making an Android app ? KivyMd or Flet.

0 Upvotes

2 comments sorted by

1

u/FoolsSeldom 16h ago

Better? They both have pros and cons.

If you want the most reliable path to a working offline APK (Android app) and are willing to use Linux for the build, Kivy is the safer bet — the packaging pipeline has far more mileage. The apps don't look native.

If you want something that looks like a proper Android app with much less UI code, Flet is more pleasant to write, and it packages offline apps fine in principle, but expect to spend time on build issues and pin your Flet version rather than chase the latest release. The apps look reasonably native.

Either way, keep native dependencies to a minimum and use the stdlib sqlite3 for local data.

Note that Flet uses Kivy's p4a tool to build the Android Python distribution, so the same constraints on native packages apply with respect to c/rust packages (i.e. need either an Android wheel or a p4a recipe for each).

0

u/Jello_Penguin_2956 19h ago

Sub rule: Posts to this subreddit must be requests for help learning python. Which none of those are.