CYTHON TO ANDROID

239 views
Skip to first unread message

Tequin Lake

unread,
May 28, 2023, 6:29:19 AM5/28/23
to cython-users
I have created a working .apk file of my python program using buildozer on linux. I am now trying to import some cython into the program by creating .so files. Can anyone provide any insight on how I could do this?

My phone is android running EM_AARCH64.
My laptop is running x86_64.
I have tried building on an emulator running aarch64.

Johannes Fischer

unread,
Aug 2, 2024, 6:47:31 AM8/2/24
to cython-users
Use termux, and install python there. There are some packages (numpy, opencv ...) that need to be installed by using pkg install. 
After you have done that, you can pip install cython and compile whatever you want. It works perfectly. 
Here is a complete list of all packages: https://github.com/Azathothas/Termux-Packages



Reply all
Reply to author
Forward
0 new messages