My Kivy app uses a python library file. On Windows it works without any problems with the .pyd file I created, but I obviously can not use the same library file on Android (because a .pyd file is essentially a .dll)
Is it possible to "cross-compile" my python code into a .so-library for Arm-Android on Windows/Linux?
I stumbled over this Github repository: Virtual Environments for Cross-Compiling Python Extension Modules Do I need that to compile Python for Android or is there a different approach?
Edit: To specify my problem a bit more, I originally wanted to include a c++-library in the python app. It is possible to automatically do that with swig and distutils, which generates a .pyd python library out of the c++ code. As described above that only worked on windows so far. @S recommended Chaquopy, which seems to work partially: It works for using python on android, but I am not sure, whether it works in combination with c++ and swig. To not further derail this question, I have created a new question which focusses on the c++-aspect.