Skip to content
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

buildozer android created apk fails if application source kept in multiple files #411

Closed
jb1123 opened this issue Oct 17, 2016 · 2 comments

Comments

@jb1123
Copy link

jb1123 commented Oct 17, 2016

Depending on repository files configuration kivy buildozer makes either working or crashing .apk. If all code is in main.py .apk works fine. With code divided among modules .apk crashes at start producing strange error messages:

E/dalvikvm( 2277): dlopen("/data/data/eu.ijbd.nmeter/files/lib/python2.7/lib-dynload/_sqlite3.so") failed: dlopen failed: library "/data/data/eu.ijbd.nmeter/files/lib/python2.7/lib-dynload/_sqlite3.so" not found E/dalvikvm( 2277): dlopen("/data/data/eu.ijbd.nmeter/files/lib/python2.7/lib-dynload/_imaging.so") failed: dlopen failed: library "/data/data/eu.ijbd.nmeter/files/lib/python2.7/lib-dynload/_imaging.so" not found

Working / crashing .apk statuis same for android and android_new. Both working and crashing examples can be found in repository: https://github.com/jb1123/kivy-buildozer-bug

@jb1123
Copy link
Author

jb1123 commented Oct 25, 2016

In crashing_apk main.py import statement modification seems to fix crashing_apk problem:

from nmeter.meterlist import MeterList #apk crashes
from meterlist import MeterList #apk works

Since both versions work on linux I believe it is a buildozer bug. Repository https://github.com/jb1123/kivy-buildozer-bug holds sample code, see tags 'crashing_apk' and 'crashing_apk_fixed'

@tito
Copy link
Member

tito commented May 15, 2017

It may just because the source are incorrectly redirected? You seems to use a module, but your module disapear on android. If you show the buildozer.spec + the structure/files of your project, we may help.

@tito tito closed this as completed May 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants