-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APK crash: couldn't find "libpython3.7m.so #1133
Comments
Not sure if there is a problem here (why Python 3.7 doesn't load?), but I have the same errors as you, while having Python 3.8 installed, and everything works. See the last few lines in my log:
|
I was thinking that my apk crash because of this error, I don't known why it crash and I don't found any other errors. Is there anything that is strange in my logs? |
Having read your logs twice, I can't spot an error. Except that in my case Python loads, and in yours it doesn't seem like it is the case. Have you tried installing Python 3.8? |
I just realize that I have many Python version (3.6, 3.7 and 2.7) installed, eventually Buildozer don't use the good one. I will try building with unique version and observe what happen. |
My guess is that you have python3 in your requirements, and the current version in the repos is 3.8.x. I am not experienced enough to explain why you need the latest (or even if you need it), but I can guarantee it works fine for me this way. Maybe P4A you have installed requires 3.8, can't tell. You can read more about it here: |
How do you install buildozer with python 3.8? Kivy only support 3.7. |
|
Ok, I finnaly found why it's not starting. I have made apk with differents architectures and differents python version, that change nothing. The problem was in my app, it don't recognize my files (I have ui_elements/Buttons and when importing it raise AttributeError: module 'ui_elements' has no attribute 'Button') com.hugoriou.accountpointer E/libEGL: validate_display:108 error 3008 (EGL_BAD_DISPLAY) com.hugoriou.accountpointer E/linker: library "/system/lib/libc.so" ("/system/lib/libc.so") needed or dlopened by "/data/data/com.hugoriou.accountpointer/files/app/_python_bundle/modules/_ctypes.cpython-38.so" is not accessible for the namespace: [name="(default)", ld_library_paths="", default_library_paths="/system/lib64:/product/lib64", permitted_paths="/system/lib64/drm:/system/lib64/extractors:/system/lib64/hw:/system/product/lib64:/system/framework:/system/app:/system/priv-app:/vendor/framework:/vendor/app:/vendor/priv-app:/odm/framework:/odm/app:/odm/priv-app:/oem/app:/system/product/framework:/system/product/app:/system/product/priv-app:/data:/mnt/expand:/system/hwemui/aimodel/library:/product/etc/aimodel/library:/product/region_comm/china/aimodel/library:/product/region_comm/oversea/aimodel/library:/product/lib64/drm:/preas"] Do you known what it mean? |
This appears to be a support issue that has been answered. We try to use GitHub Issues only to track work for developers to do to fix bugs and add new features to Buildozer. This issue is being closed, because it doesn't describe a bug in Buildozer. If you have further support questions, please don't post them here. Instead, there is a mailing list and a Discord channel to support Kivy users debugging their own systems, which should be able to help. They are linked in the ReadMe. For building Android apps, there is an unofficial Buildozer Users' Guide that has a lot of useful debugging tips. |
Versions
Description
I have compiled the apk without problems or any errors, but when it run under android, it crash. Errors messages couldn't find "libpython3.5m.so"/"libpython3.6m.so"/"libpython3.7m.so" are in logcat, but I don't known why I get these errors.
buildozer.spec
Command:
Spec file:
Logcat
The text was updated successfully, but these errors were encountered: