kivy / kivy/python-for-android

Add a recipe for `orjson`

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

Description

**Versions**

Python: 3.10.12
OS: Linux mint 21.3
Kivy: 2.2.1
Cython: 0.29.33
OpenJDK: 17

**Description**

How to use `orjson` library in buildozer?
After packaging and running the application:
```
ImportError: dlopen failed: "/data/data/codeberg.org.aigodosint/files/app/_python_bundle/site-packages/orjson/orjson.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
```

Contributor guide

Open the contributing guide

Research direction

The issue concerns adding python-for-android support for the orjson library through Buildozer packaging. Start by reviewing existing recipe patterns and the reported architecture error. Done means an Android application can package and import orjson without the EM_X86_64 versus EM_AARCH64 failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
build-system, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.