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 application crashs on android #1215

Closed
ccharoux opened this issue Dec 30, 2017 · 5 comments
Closed

Buildozer android application crashs on android #1215

ccharoux opened this issue Dec 30, 2017 · 5 comments

Comments

@ccharoux
Copy link

An application running ok under the windows python interpreter crashs when it has to scroll a list

android 7.0, buildozer python 2.7, windows interpreter Python 3.5
Q: is it possible to get a logging of errors under android ??
Here are the sources
Annivs.zip

@kuzeyron
Copy link
Contributor

kuzeyron commented Dec 30, 2017

Have you set in the buildozer.spec:
log_level = 2
android.logcat_filters = *:S python:D

  • Log_level = 2 will show you any errors.
  • android.logcat_filters will ignore everything else that doesn't have with Python to do with.

And when you run Buildozer: buildozer android debug deploy run logcat

And that's all what I can think of.
Lets hope you'll find the problem with your code!

@ccharoux
Copy link
Author

ccharoux commented Dec 30, 2017

thanks for your answer
I made what you said
But the question is : when i run the appli on my smartphone, can I have somewhere a log to read.
Because i should we aware of what happens

could you try to run my application on your system on your system??
or may be you could try tu run my apk, that I can send to you...

@kuzeyron
Copy link
Contributor

kuzeyron commented Jan 4, 2018

Kivy should be logging. But I'm not 100% sure about that, if it's default or not.
Let's see if I can tag @tshirtman

@tito
Copy link
Member

tito commented Jan 4, 2018

The only way for us right now to get logs is you to use adb. And even if somehow we would have a way to get them from the application, you'll need to have a rooted phone to activate READ_LOGS permission on the application.

So adb is the only way for us to get the logs. That's what buildozer does.

When your run the application on your smartphone, just connect the usb cable, and run adb logcat on a terminal before starting the app. You can filter it by running adb logcat *:S python:D.
Or use buildozer.

@tito tito closed this as completed Jan 4, 2018
@tito
Copy link
Member

tito commented Jan 4, 2018

And prefer to use mailing list kivy-users, or IRC to get user support. Thanks you :)

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

3 participants