Skip to content

Kivy crashes on Android: ImportError: dlopen failed: library "libpython3.7m.so" not found #2237

Closed
@chavarinbonbyn

Description

@chavarinbonbyn

Versions

  • Python: 3.6.9
  • OS: Ubuntu 18.04.4 LTS
  • Kivy: 1.11.0
  • Cython: 0.29.15

Description

This line works OK on the computer and in several Phones:
def open_settings(self):
from controller.settings import Settings

On a Huawei that line throws the following error on ADB logcat:
06-12 19:39:53.265 10723 10762 I python : ImportError: dlopen failed: library "libpython3.7m.so" not found

buildozer.spec

Just a standard spec file, nothing special. The same spec file works on other phones.

Command:
from controller.settings import Settings

Logs

06-12 19:39:53.261 10723 10762 I python : File "/data/data/org.test.test_buddy.myapp/files/app/view/welcome.kv", line 46, in
06-12 19:39:53.263 10723 10762 I python : on_release: root.open_settings()
06-12 19:39:53.263 10723 10762 I python : File "./controller/welcome.py", line 21, in open_settings
06-12 19:39:53.265 10723 10762 I python : from controller.settings import Settings
06-12 19:39:53.265 10723 10762 I python : ImportError: dlopen failed: library "libpython3.7m.so" not found
06-12 19:39:53.265 10723 10762 I python : Python for android ended.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions