App is crashed when import packaged from requirements

18 views
Skip to first unread message
Assigned to me

Dung Phung Van

unread,
Sep 17, 2019, 5:35:20 AM9/17/19
to Kivy users support
If i not import numpy, app working normal., but when i import numpy to app like this 

Screenshot from 2019-09-17 16-33-49.png



after i install by adb and this is logcat

Screenshot from 2019-09-17 16-33-16.png



Please help me.

Andrei Sima

unread,
Sep 17, 2019, 6:55:21 AM9/17/19
to Kivy users support
In buildozer.specs did you mentioned numpy as a app requirement?
I can not see logcat screenshot.

# (list) Application requirements
# comma separated e.g. requirements = sqlite3,kivy
requirements = python3, kivy,, numpy



--
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/c30086bb-0352-4ed3-90a0-49ee80860f00%40googlegroups.com.

Andrei Sima

unread,
Sep 17, 2019, 7:00:15 AM9/17/19
to Kivy users support
downloaded the logcat.

next time try

adb logcat | grep "python"

you will get more info about the python interpreter and why is crashes the app.
I guess that it tries to import numpy and can not find it. But is just a guess

Robert Flatt

unread,
Sep 17, 2019, 10:10:23 PM9/17/19
to Kivy users support
1) Please do not post screen shots, if anybody wants to try to debug the issue for you they need text files.

2) Please always post the FULL logcat, the FULL .spec file, and the FULL .py and .kv file .
   Make the .py and .kv as simple as possible before posting
Reply all
Reply to author
Forward
0 new messages