kivy / kivy/python-for-android
Recipe for mediapipe required to execute python code on android
- Ngôn ngữ chính
- Python
- Star
- 8.9k
- Fork
- 2k
- Merge trung bình
- 12 giờ 20 phút
- Pull request đã merge (30 ngày)
- 9
Mô tả
I built a python project with Kivy, opencv and mediapipe and Ibuilt an apk for it using buildozer. The apk failed to run in simulator in Android Studio with error:
ImportError: dlopen failed: "/data/data/org.test.myapp/files/app/_python_bundle/site-packages/mediapipe/python/_framework_bindings.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
I would need a recipe for mediapipe for it to be successful.
### buildozer.spec
requirements = python3,kivy==2.3.0,mediapipe,opencv,opencv_extras,kivymd,numpy,pillow
Hướng dẫn đóng góp
Hướng nghiên cứu
Start with the requirements in buildozer.spec and reproduce the Android Studio simulator failure showing an EM_X86_64 versus EM_AARCH64 mismatch for mediapipe. Investigate the existing python-for-android recipe entry points for native packages; done means an APK using the listed requirements runs successfully on the target Android architecture.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- android, opencv, python
- Lĩnh vực
- build-system, mobile-dev
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 30/100