-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Built APK fails with ImportError: dlopen failed on _clock.so #998
Comments
In case it's useful, here's my p4a line:- p4a apk --requirements kivy==master,twisted,Whoosh,xmltodict,blinker,netifaces |
Do you get the same problem if you have no extra requirements (i.e. just kivy in the requirements)? |
Yes, identical error message. This is with kivy=master AND hostpython2 (python-for-android bug based on #620 which should already be fixed?). Perhaps my installation of python-for-android isn't actually git master? My install line is pip install git+https://github.com/kivy/python-for-android.git |
Is this still a problem using python-for-android and Kivy master branches? |
On kivy daf640 (Jan 13) and p4a 395c7e (Mar 4) I still get the same behavior. Running the 'animation' example using a basic build (--requirements master,hostpython2) |
Deleting the directories mentioned by @FeralBytes does not help, either. |
Closing as resolved, pretty sure this was caused by a bug loading libpymodules.so, which was fixed but has been obseleted anyway by replacing the python recipe. |
I'm on current master (a924f9 24th Jan), trying to rebuild the launcher with more packages.
Starting an app from the launcher gives the following error in log. It never reaches my app's code, this happens during import.
01-27 07:21:04.271 7301 7409 I python : [INFO ] [Logger ] Record log in /storage/emulated/0/kivy/songprez/.kivy/logs/kivy_17-01-27_3.txt
01-27 07:21:04.271 7301 7409 I python : [INFO ] [Kivy ] v1.9.2-dev0
01-27 07:21:04.272 7301 7409 I python : [INFO ] [Python ] v2.7.2 (default, Jan 27 2017, 06:36:47)
01-27 07:21:04.272 7301 7409 I python : [GCC 4.8]
01-27 07:21:04.812 7301 7409 I python : Traceback (most recent call last):
01-27 07:21:04.812 7301 7409 I python : File "/storage/emulated/0/kivy/songprez/main.py", line 9, in
01-27 07:21:04.813 7301 7409 I python : install_twisted_reactor()
01-27 07:21:04.813 7301 7409 I python : File "/home/ngoonee/.local/share/python-for-android/dists/songprezlauncher/private/lib/python2.7/site-packages/kivy/support.py", line 188, in install_twisted_reactor
01-27 07:21:04.814 7301 7409 I python : File "/home/ngoonee/.local/share/python-for-android/dists/songprezlauncher/private/lib/python2.7/site-packages/kivy/base.py", line 29, in
01-27 07:21:04.815 7301 7409 I python : File "/home/ngoonee/.local/share/python-for-android/dists/songprezlauncher/private/lib/python2.7/site-packages/kivy/clock.py", line 362, in
01-27 07:21:04.816 7301 7409 I python : ImportError: dlopen failed: file offset for the library "/data/user/0/org.kivy.customlauncher/files/app/lib/python2.7/site-packages/kivy/_clock.so" >= file size: 0 >= 0
01-27 07:21:04.849 7301 7409 I python : Python for android ended.
The text was updated successfully, but these errors were encountered: