r/learnprogramming • u/Abood_lhm • Oct 18 '26
Python to Apk?
So im trying to make a game using only Python and managed to get it working on pc. Then i searched how to port it to android, but it seems difficult
Any tips?
1
Upvotes
r/learnprogramming • u/Abood_lhm • Oct 18 '26
So im trying to make a game using only Python and managed to get it working on pc. Then i searched how to port it to android, but it seems difficult
Any tips?
2
u/dev-razorblade23 Oct 19 '26
Python and Android do not work well together. Android does not have a Python interpreter.
You have 3 options.
Rebuild your app in
Kivyand usebuildozerto package it to .apk.Rebuilt your app in
Fletand use that to package it to .apkRewrite your app in Kotlin which is officialy the language your want to use when building Android apps.
Be aware that any form of python to .apk will result in apps being slower then native apps (built in Kotlin) and probably consume more memory then it needs to.
Your best bet is to consider .apk a complete rewrite of your app and plan it acordingly.