kivy / kivy/python-for-android

python for android support for charset_normalizer

Open
#3,110 6 comments 0 reactions 0 assignees View on GitHub
recipe
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

02-21 15:37:05.571 16872 17050 I python : Android kivy bootstrap done. __name__ is __main__
02-21 15:37:05.571 16872 17050 I python : AND: Ran string
02-21 15:37:05.571 16872 17050 I python : Run user program, change dir and execute entrypoint
02-21 15:37:06.056 16872 17050 I python : Traceback (most recent call last):
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/platform/build-arm64-v8a/build/python-installs/fixchat/arm64-v8a/aiohttp/client_reqrep.py", line 70, in
02-21 15:37:06.057 16872 17050 I python : ModuleNotFoundError: No module named 'cchardet'
02-21 15:37:06.057 16872 17050 I python :
02-21 15:37:06.057 16872 17050 I python : During handling of the above exception, another exception occurred:
02-21 15:37:06.057 16872 17050 I python :
02-21 15:37:06.057 16872 17050 I python : Traceback (most recent call last):
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/app/main.py", line 12, in
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/platform/build-arm64-v8a/build/python-installs/fixchat/arm64-v8a/aiohttp/__init__.py", line 6, in
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/platform/build-arm64-v8a/build/python-installs/fixchat/arm64-v8a/aiohttp/client.py", line 59, in
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/platform/build-arm64-v8a/build/python-installs/fixchat/arm64-v8a/aiohttp/client_reqrep.py", line 72, in
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/platform/build-arm64-v8a/build/python-installs/fixchat/arm64-v8a/charset_normalizer/__init__.py", line 26, in
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/platform/build-arm64-v8a/build/python-installs/fixchat/arm64-v8a/charset_normalizer/api.py", line 7, in
02-21 15:37:06.057 16872 17050 I python : File "/home/sahil/fxchatapp/.buildozer/android/platform/build-arm64-v8a/build/python-installs/fixchat/arm64-v8a/charset_normalizer/cd.py", line 16, in
02-21 15:37:06.057 16872 17050 I python : ImportError: dlopen failed: "/data/data/org.test.fixchat/files/app/_python_bundle/site-packages/charset_normalizer/md.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
02-21 15:37:06.057 16872 17050 I python : Python for android ended.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the Android arm64 build and read the traceback around charset_normalizer/cd.py and the generated md.so, alongside aiohttp/client_reqrep.py. Confirm why md.so is built for EM_X86_64 instead of EM_AARCH64; done means charset_normalizer imports successfully in the reported Android architecture.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
build-system, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.