python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

Recipe for mediapipe required to execute python code on android

Open ghost opened this issue 1 year ago • 5 comments

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

ghost avatar Mar 29 '24 09:03 ghost

mee too, is there any solution??

Muhaiminnn avatar Apr 01 '24 05:04 Muhaiminnn

Please understand that adding this recipe isn't worth, android has already mediapipe apis which you can use with pyjnius.

T-Dynamos avatar Apr 01 '24 08:04 T-Dynamos

we python users need this .

Sahil-pixel avatar Jun 15 '24 15:06 Sahil-pixel

is this problem be solved? i got the same one, i don't know how to solve it

yushoajun avatar Jun 26 '24 08:06 yushoajun