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

GPS android crash on launch #288

Closed
kujuablockchain opened this issue Feb 19, 2017 · 6 comments
Closed

GPS android crash on launch #288

kujuablockchain opened this issue Feb 19, 2017 · 6 comments

Comments

@kujuablockchain
Copy link

kujuablockchain commented Feb 19, 2017

When i try run the exact same GPS example from the examples folder, it compiles successfully but once i launch the application on my android version 5 device, it crashes. I have been struggling with this for a while now and I desperately need help with it. I am using python 2.7 with buildozer on Linux Ubuntu VM. Logcat attached.
removed logcat.txt
main.txt ran as main.py
buildozer.txt ran as buildozer.spec

@sumitmadhwani
Copy link
Contributor

Hi @jlongwe , after you posted this issue, I made an apk for gps example and it's running fine for me.
I am not able to see your logcat.txt file in correct format. I would suggest you to paste your logcat in gist and then share the link. I can't help you without seeing the logs of your app.

@kujuablockchain
Copy link
Author

Hi @Malverick please find the logcat contents at https://gist.github.com/jlongwe/7a006cc5f59b70680c1963c96691c981

@sumitmadhwani
Copy link
Contributor

@jlongwe you have not filtered your logcat results.

  1. Connect your device
  2. Open terminal
  3. Run adb -d logcat <your package name>:V *:S

These are the logs related only to your gps apk.
Please share those logs.

@kujuablockchain
Copy link
Author

Hi @Malverick thanks. I couldn't get that to work on my Ubuntu system as it returned nothing. But i managed to filter them with
adb logcat | grep "python": https://gist.github.com/jlongwe/d69fd22332cd9dc37d6d67c303b679de
adb logcat | grep "gpsexample": https://gist.github.com/jlongwe/7a006cc5f59b70680c1963c96691c981

@kujuablockchain
Copy link
Author

Looked like an indentation issue in my code. Resolved

@susmit
Copy link
Contributor

susmit commented Feb 26, 2017

@jlongwe adding to malverick views,you can use android studio logcat monitor with your kivy app.The plus point is that it pin points the error with different colour and you have various filter options.

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