Closed
Description
I was very happy to read that the opencv recipe was updated to version 4.0.1 and the build runs fine with python3, numpy and opencv, but when starting the app on android it gives the following error in logcat:
I python : Traceback (most recent call last):
I python : File "/home/phil/dev/kivy/cvtest/.buildozer/android/app/main.py", line 1, in <module>
I python : File "/home/phil/dev/kivy/cvtest/.buildozer/android/platform/build/build/python-installs/cvtest400/numpy/__init__.py", line 142, in <module>
I python : File "/home/phil/dev/kivy/cvtest/.buildozer/android/platform/build/build/python-installs/cvtest400/numpy/add_newdocs.py", line 13, in <module>
I python : File "/home/phil/dev/kivy/cvtest/.buildozer/android/platform/build/build/python-installs/cvtest400/numpy/lib/__init__.py", line 8, in <module>
I python : File "/home/phil/dev/kivy/cvtest/.buildozer/android/platform/build/build/python-installs/cvtest400/numpy/lib/type_check.py", line 11, in <module>
I python : File "/home/phil/dev/kivy/cvtest/.buildozer/android/platform/build/build/python-installs/cvtest400/numpy/core/__init__.py", line 26, in <module>
I/python : ImportError:
I/python : Importing the multiarray numpy extension module failed. Most
I/python : likely you are trying to import a failed build of numpy.
I/python : If you're working with a numpy git repo, try `git clean -xdf` (removes all
I/python : files not under version control). Otherwise reinstall numpy.
I/python : Original error was: dlopen failed: library "libpython2.7.so" not found
I/python : Python for android ended.
I ran the build with the master of buildozer and p4a (0c4cd1d) and python 3.5
the requirements in buildozer.spec:
requirements = kivy, android, numpy
the rest was untouched after buildozer init
in the main.py it fails at:
import numpy as np
I tried that on a device runnning Android 7.0 and another one with Android 5.1.1 with the same results
Metadata
Metadata
Assignees
Labels
No labels