Skip to content

Recipe for mediapipe required to execute python code on android #2999

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions