Open FebrianFrancione opened 2 years ago
The app needs pyodbc compiled for arm7 or arm8 not x86_84. Pypl does not have what you want. It has to be compiled.
p4a compiles packages for Android using a 'recipe', there isn't one for pyodbc https://github.com/kivy/python-for-android/tree/develop/pythonforandroid/recipes
Which means you have to create one. To do this you have to be self supporting based on the examples above and the instructions https://github.com/kivy/python-for-android/blob/develop/doc/source/recipes.rst
You will also need https://code.google.com/archive/p/pyodbc/wikis/Building.wiki Note that Android uses Clang and not gcc, just more details to handle.
The best place to ask is here, but recipe help is not usually available https://discord.gg/w3mT2ZpN
Versions
Description
I'm trying to get the pyodbc requirement to work. I can compile the apk but the app crashes on start. I can see that the error is coming from an architecture mismatch but I could not find examples on how to fix this. I have isntalled a lot fo therequired packages as per similar examples. I am not sure how to fix this error. I appreciate your time!
buildozer.spec
Spec file:
Logs