kivy / kivy

Open source UI framework written in Python, running on Windows, Linux, macOS, Android and iOS
https://kivy.org
MIT License
17.79k stars 3.07k forks source link

Kivy causes app to crash immediately after opening #8839

Open jiri-otoupal opened 1 month ago

jiri-otoupal commented 1 month ago

Software Versions

Describe the bug Kivy app immediately crashes with this output in logcat

ImportError: dlopen failed: "/data/data/org.jitoma.chatter/files/app/_python_bundle/site-packages/kivy/_event.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)

Expected behavior It should just work

To Reproduce Compile kivy app on Ubuntu and start the app

mp-007 commented 1 month ago

maybe this can help https://github.com/Android-for-Python/Android-for-Python-Users?tab=readme-ov-file#em_x86_64-instead-of-em_aarch64

jiri-otoupal commented 1 month ago

maybe this can help https://github.com/Android-for-Python/Android-for-Python-Users?tab=readme-ov-file#em_x86_64-instead-of-em_aarch64

I was reading that, its for different issue my issue is from _event.so Also I have a much higher package version charset-normalizer==3.3.2

This is linked directly to some issue in kivy or buildozer building it as x86_64 instead idk why, but its totally useless I cannot even build example app