kivy/_clock.so is for EM_X86_64 (62) instead of EM_AARCH64 (183)

52 views
Skip to first unread message

Uriya Harpeness

unread,
Dec 4, 2023, 4:04:55 AM12/4/23
to Kivy users support
Hello, I have an app built with kivy which I'm compiling for android using buildozer.
Since 3-4 days ago, without any change to the code or the buildozer.spec file, the application crashes with the error:

12-04 10:45:01.846 12723 16100 I python  : [ERROR  ] [Clock       ] Unable to import kivy._clock. Have you perhaps forgotten to compile kivy? Kivy contains Cython code which needs to be compiled. A missing kivy._clock often indicates the Cython code has not been compiled. Please follow the installation instructions and make sure to compile Kivy
12-04 10:45:01.846 12723 16100 I python  :  Traceback (most recent call last):
12-04 10:45:01.847 12723 16100 I python  :    File "/home/runner/work/never-fever/never-fever/.buildozer/android/app/main.py", line 1, in <module>
12-04 10:45:01.847 12723 16100 I python  :    File "/home/runner/work/never-fever/never-fever/.buildozer/android/app/src/app.py", line 6, in <module>
12-04 10:45:01.847 12723 16100 I python  :    File "/home/runner/work/never-fever/never-fever/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/build/python-installs/neverfever/arm64-v8a/kivy/clock.py", line 466, in <module>
12-04 10:45:01.848 12723 16100 I python  :  ImportError: dlopen failed: "/data/data/org.uriyaharpeness.neverfever/files/app/_python_bundle/site-packages/kivy/_clock.so" is for EM_X86_64 (62) instead of EM_AARCH64 (183)
12-04 10:45:01.848 12723 16100 I python  : Python for android ended.

The buildozer.spec file is attached below, would really appreciate any support, I did not see anything useful under the support section for this kind of issue in python-for-android repo.
I have also checked the packages and none of them have released any new version in some time...
Thanks in advance.
buildozer.spec

Elliot Garbus

unread,
Dec 4, 2023, 6:11:35 AM12/4/23
to kivy-...@googlegroups.com
See: https://github.com/Android-for-Python/Android-for-Python-Users#em_x86_64-instead-of-em_aarch64

Sent from my iPhone

On Dec 4, 2023, at 2:05 AM, 'Uriya Harpeness' via Kivy users support <kivy-...@googlegroups.com> wrote:

Hello, I have an app built with kivy which I'm compiling for android using buildozer.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/1aafd9fd-5534-468a-b642-91f3bb3d61c0n%40googlegroups.com.
<buildozer.spec>

Uriya Harpeness

unread,
Dec 4, 2023, 6:33:56 AM12/4/23
to Kivy users support
As I wrote initially: "I did not see anything useful under the support section for this kind of issue in python-for-android repo".
I have seen this section, but the requirement is kivy, not some obscure requirement, and it worked with the exact same code and configuration a few days ago.

Do you spot anything in particular that's problematic?

Reply all
Reply to author
Forward
0 new messages