You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kivy app crashing on android after installation, what is the issue here? #2433
So I suspect the recipe is always building a 64-bit cv2.so , which is exactly the message the OP gets.
This was not found previously because an arm7 (or mixed binary) will run on arm8, and an arm7 binary will run on arm7, it just the mixed binary generated by this recipe that won't run on an arm7 device.
👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.
Activity
RobertFlatt commentedon Mar 5, 2021
We know that opencv works, so this looks like pilot error. But I suspect not....
There is a history of unresolved cases like this https://groups.google.com/g/kivy-users/search?q=cv2.so
Typing to the OP on Reddit, they are using an arm7 device https://www.reddit.com/r/kivy/comments/lvfutk/my_android_app_made_in_kivy_crashes_on_being/
Looking at the recipe we see that the build instructions for cv2.so are different
Its build arch depends not on arch.arch but on the Python build architecture.
https://github.com/kivy/python-for-android/blob/develop/pythonforandroid/recipes/opencv/patches/p4a_build.patch#L2
So I suspect the recipe is always building a 64-bit cv2.so , which is exactly the message the OP gets.
This was not found previously because an arm7 (or mixed binary) will run on arm8, and an arm7 binary will run on arm7, it just the mixed binary generated by this recipe that won't run on an arm7 device.
RobertFlatt commentedon Mar 6, 2021
My guess I was wrong
stelin41 commentedon Jun 27, 2021
Follow this tutorial. It worked for me.
github-actions commentedon Nov 1, 2021
👋 We use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
If you're having trouble installing or using python-for-android, maybe you could be interested in our quickstart guide.
Let us know if this comment was made in error, and we'll be happy to reopen the issue.