+ 2

Is there a way to convert a python script into executable apk in android?

Hi, I had created a python script and I want to convert it into a standalone apk. I have heard of cxfreeze and similar. All results showed how to create it when using android studio, but I want to create it in android 'phone'. If anyone knows how yo do it please let me know. And please kindly explain the procedures in simple terms please.

17th Mar 2019, 4:45 PM
NightSkyLeaf
NightSkyLeaf - avatar
9 Réponses
17th Mar 2019, 5:43 PM
HonFu
HonFu - avatar
+ 1
//As HonFu mentioned kivy is a cross-platform python framework for application development,
17th Mar 2019, 6:06 PM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
I'm not sure if you edited your question or if I had read only half of it. My comment was related to Kivy for building apks FOR the phone, not ON the phone (no idea if the latter is possible or how).
17th Mar 2019, 11:05 PM
HonFu
HonFu - avatar
+ 1
I heard about cxfreeze buildozer and similar like pyinstaller for windows
19th Mar 2019, 9:27 AM
NightSkyLeaf
NightSkyLeaf - avatar
+ 1
Theuns, have you checked out Kivy? It's written there what it can do.
19th Mar 2019, 9:29 AM
HonFu
HonFu - avatar
+ 1
Buy a remote server from aws, gcp, digital ocean and then ssh into that server using ssh client app like Termux or Termius. The clone the GitHub repo where You have all the files. Use build dozer in that linux machine. It's bit complicated but yeah U will get your work done on phone.
12th Sep 2021, 10:26 AM
JS-junior
JS-junior - avatar
0
I found myself asking this very question because i wanted to do exactly the same thing, after some research this is what i can share with you... Building an apk on your 'phone'? Sorry thats impossible, you can build the app with kivy and as far as i know to get the app into a working apk you use buildozer, which only works with linux computers...
17th Mar 2019, 9:36 PM
Theuns Booysen
Theuns Booysen - avatar
0
I have already used kivy to create some scripts. But using the compiler , pydroid I mean , every time to run it is difficult and annoying. At least just knowing a method to directly launch it without opening the script is enough for now.
17th Mar 2019, 10:22 PM
NightSkyLeaf
NightSkyLeaf - avatar
0
So is it possible to build an apk using windows?
19th Mar 2019, 8:05 AM
Theuns Booysen
Theuns Booysen - avatar