Kivy app built with buildozer crashing on android smartphone: ImportError: dlopen failed: ...charset_normalizer/md.so" is for EM_X86_64 (62) instead of EM_AARCH64

363 views
Skip to first unread message

Ced B

unread,
Feb 21, 2023, 12:30:28 PM2/21/23
to Kivy users support
Hi,

I am newbie in Kivy making a small kivy app that works on windows. The apk is built using buildozer on WSL. In the main.py file, yahooquery module is imported, and this module requires charset_normalizer .




The app crashes on android, here is the error log:
 02-21 18:02:40.903 12625 12674 I python : File "/home/ced/programmation/python/kivy/kivy_bourse/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/Bourse/arm64-v8a/charset_normalizer/cd.py", line 9, in <module> 02-21 18:02:40.903 12625 12674 I python : ImportError: dlopen failed: "/data/data/ced.bart.bourse/files/app/_python_bundle/site-packages/charset_normalizer/md.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
02-21 18:02:40.903 12625 12674 I python : Python for android ended.


I've tried to google EM_X86_64 (62) instead of EM_AARCH64  but have'nt found the clue to that.
Thanks for your help !

Robert

unread,
Feb 21, 2023, 7:40:20 PM2/21/23
to Kivy users support
Reply all
Reply to author
Forward
0 new messages